diff options
author | Peter Elliott <pelliott@ualberta.ca> | 2020-07-31 16:12:11 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-01 08:06:48 +0200 |
commit | 4bf4a071a661b3c67c54d75f44b4949027bf045e (patch) | |
tree | 3513fe23479b9ee1c7a59f3d1708df511f5d9b00 /Applications/Help | |
parent | 5ae9eee4a37a473ef768a2fe8d95d84202443cbe (diff) | |
download | serenity-4bf4a071a661b3c67c54d75f44b4949027bf045e.zip |
Applications: Stop setting initial window location
This will let the WindowManager choose the location of the window
Diffstat (limited to 'Applications/Help')
-rw-r--r-- | Applications/Help/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/Help/main.cpp b/Applications/Help/main.cpp index 406bcab5d6..28dfb6b5cf 100644 --- a/Applications/Help/main.cpp +++ b/Applications/Help/main.cpp @@ -86,7 +86,7 @@ int main(int argc, char* argv[]) auto window = GUI::Window::construct(); window->set_icon(app_icon.bitmap_for_size(16)); window->set_title("Help"); - window->set_rect(300, 200, 570, 500); + window->resize(570, 500); auto& widget = window->set_main_widget<GUI::Widget>(); widget.set_layout<GUI::VerticalBoxLayout>(); |