mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +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
|
@ -58,7 +58,7 @@ int main(int argc, char** argv)
|
|||
auto window = GUI::Window::construct();
|
||||
window->set_title("Calculator");
|
||||
window->set_resizable(false);
|
||||
window->set_rect({ 300, 200, 254, 213 });
|
||||
window->resize(254, 213);
|
||||
|
||||
window->set_main_widget<CalculatorWidget>();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue