diff options
Diffstat (limited to 'DevTools')
-rw-r--r-- | DevTools/HackStudio/main.cpp | 2 | ||||
-rw-r--r-- | DevTools/Inspector/main.cpp | 2 | ||||
-rw-r--r-- | DevTools/Profiler/main.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/DevTools/HackStudio/main.cpp b/DevTools/HackStudio/main.cpp index 9dc9c79e6a..515b2e7a9b 100644 --- a/DevTools/HackStudio/main.cpp +++ b/DevTools/HackStudio/main.cpp @@ -186,7 +186,7 @@ int main(int argc, char** argv) Function<void()> update_actions; g_window = GUI::Window::construct(); - g_window->set_rect(90, 90, 840, 600); + g_window->resize(840, 600); g_window->set_title("HackStudio"); auto& widget = g_window->set_main_widget<GUI::Widget>(); diff --git a/DevTools/Inspector/main.cpp b/DevTools/Inspector/main.cpp index ccf94f8f28..b69576aeee 100644 --- a/DevTools/Inspector/main.cpp +++ b/DevTools/Inspector/main.cpp @@ -94,7 +94,7 @@ int main(int argc, char** argv) auto window = GUI::Window::construct(); window->set_title("Inspector"); - window->set_rect(150, 150, 685, 500); + window->resize(685, 500); window->set_icon(app_icon.bitmap_for_size(16)); auto menubar = GUI::MenuBar::construct(); diff --git a/DevTools/Profiler/main.cpp b/DevTools/Profiler/main.cpp index d709ce6af3..8412843f20 100644 --- a/DevTools/Profiler/main.cpp +++ b/DevTools/Profiler/main.cpp @@ -80,8 +80,8 @@ int main(int argc, char** argv) auto window = GUI::Window::construct(); window->set_title("Profiler"); - window->set_rect(100, 100, 800, 600); window->set_icon(app_icon.bitmap_for_size(16)); + window->resize(800, 600); auto& main_widget = window->set_main_widget<GUI::Widget>(); main_widget.set_fill_with_background_color(true); @@ -136,8 +136,8 @@ static bool prompt_to_stop_profiling() { auto window = GUI::Window::construct(); window->set_title("Profiling"); - window->set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/app-profiler.png")); window->resize(320, 200); + window->set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/app-profiler.png")); window->center_on_screen(); auto& widget = window->set_main_widget<GUI::Widget>(); widget.set_fill_with_background_color(true); |