Applications: Stop setting initial window location

This will let the WindowManager choose the location of the window
This commit is contained in:
Peter Elliott 2020-07-31 16:12:11 -06:00 committed by Andreas Kling
commit 4bf4a071a6
Notes: sideshowbarker 2024-07-19 04:25:47 +09:00
17 changed files with 14 additions and 17 deletions

View file

@ -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>();