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/PixelPaint/main.cpp | |
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/PixelPaint/main.cpp')
-rw-r--r-- | Applications/PixelPaint/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/PixelPaint/main.cpp b/Applications/PixelPaint/main.cpp index d54052f612..24bcffa377 100644 --- a/Applications/PixelPaint/main.cpp +++ b/Applications/PixelPaint/main.cpp @@ -71,7 +71,7 @@ int main(int argc, char** argv) auto window = GUI::Window::construct(); window->set_title("PixelPaint"); - window->set_rect(40, 100, 950, 570); + window->resize(950, 570); window->set_icon(app_icon.bitmap_for_size(16)); auto& horizontal_container = window->set_main_widget<GUI::Widget>(); |