1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 04:28: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:
Peter Elliott 2020-07-31 16:12:11 -06:00 committed by Andreas Kling
parent 5ae9eee4a3
commit 4bf4a071a6
17 changed files with 14 additions and 17 deletions

View file

@ -61,7 +61,7 @@ int main(int argc, char** argv)
auto window = GUI::Window::construct();
window->set_title("SoundPlayer");
window->set_resizable(false);
window->set_rect(300, 300, 350, 140);
window->resize(350, 140);
window->set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/app-sound-player.png"));
auto menubar = GUI::MenuBar::construct();