DisplaySettings: Prevent minimising the window

This matches how the new MouseSettings application works.
This commit is contained in:
Jamie Mansfield 2021-07-26 11:41:06 +01:00 committed by Gunnar Beutner
commit 3129956c4e
Notes: sideshowbarker 2024-07-18 08:19:31 +09:00

View file

@ -42,6 +42,7 @@ int main(int argc, char** argv)
window->set_title("Display Settings");
window->resize(400, 480);
window->set_resizable(false);
window->set_minimizable(false);
auto& main_widget = window->set_main_widget<GUI::Widget>();
main_widget.set_fill_with_background_color(true);