mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 00:56:14 +00:00
FontEditor: Initial port to using a VisualBuilder generated UI.
Here goes the first attempt at using VisualBuilder to make an application. There are many features missing that we are gonna have to implement, noticeably custom widgets (for the glyph editor and glyph map widgets) but this patch already moves most of the UI layout to a form file. :^)
This commit is contained in:
@@ -26,7 +26,7 @@ int main(int argc, char** argv)
|
||||
|
||||
auto* window = new GWindow;
|
||||
window->set_title("Font Editor");
|
||||
window->set_rect({ 50, 50, 390, 325 });
|
||||
window->set_rect({ 50, 50, 390, 342 });
|
||||
auto* font_editor = new FontEditorWidget(path, move(edited_font));
|
||||
window->set_main_widget(font_editor);
|
||||
window->set_should_exit_event_loop_on_close(true);
|
||||
|
||||
Reference in New Issue
Block a user