Magnifier: Increase window size

The help menu was not visible prior to this.
This commit is contained in:
crpz1 2022-10-21 22:37:15 +11:00 committed by Sam Atkins
parent 466e0c4846
commit 87a9462b7f
Notes: sideshowbarker 2024-07-18 02:13:10 +09:00

View file

@ -48,7 +48,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
auto app_icon = GUI::Icon::default_icon("app-magnifier"sv);
// 4px on each side for padding
constexpr int window_dimensions = 200 + 4 + 4;
constexpr int window_dimensions = 240 + 4 + 4;
auto window = GUI::Window::construct();
window->set_title("Magnifier");
window->resize(window_dimensions, window_dimensions);