mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
Applications: Stop setting initial window location
This will let the WindowManager choose the location of the window
This commit is contained in:
parent
5ae9eee4a3
commit
4bf4a071a6
Notes:
sideshowbarker
2024-07-19 04:25:47 +09:00
Author: https://github.com/petelliott
Commit: 4bf4a071a6
Pull-request: https://github.com/SerenityOS/serenity/pull/2936
17 changed files with 14 additions and 17 deletions
|
@ -86,7 +86,7 @@ int main(int argc, char** argv)
|
|||
auto& font_editor_widget = window->set_main_widget<FontEditorWidget>(path, move(font));
|
||||
window->set_rect({ point, { font_editor_widget.preferred_width(), font_editor_widget.preferred_height() } });
|
||||
};
|
||||
set_edited_font(path, move(edited_font), { 50, 50 });
|
||||
set_edited_font(path, move(edited_font), window->position());
|
||||
|
||||
auto menubar = GUI::MenuBar::construct();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue