mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:38:12 +00:00
Settings: Change initial window size to fit the current content
Previously, it would open with a scrollbar visible which felt a little silly. :^)
This commit is contained in:
parent
7d0529b89c
commit
968481c7cd
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
|
||||
auto window = TRY(GUI::Window::try_create());
|
||||
window->set_title("Settings");
|
||||
window->resize(360, 240);
|
||||
window->resize(324, 265);
|
||||
|
||||
auto file_menu = TRY(window->try_add_menu("&File"));
|
||||
file_menu->add_action(GUI::CommonActions::make_quit_action([&](auto&) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue