mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 19:45:08 +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
17 changed files with 14 additions and 17 deletions
|
@ -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>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue