1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:27:43 +00:00

KeyboardSettings: Prevent resizing the window

This matches the other settings applications.
This commit is contained in:
Jamie Mansfield 2021-07-26 11:43:23 +01:00 committed by Gunnar Beutner
parent 3129956c4e
commit 902559fc2d

View file

@ -103,6 +103,7 @@ int main(int argc, char** argv)
auto window = GUI::Window::construct();
window->set_title("Keyboard Settings");
window->resize(300, 70);
window->set_resizable(false);
window->set_icon(app_icon.bitmap_for_size(16));
auto& root_widget = window->set_main_widget<GUI::Widget>();