diff --git a/linux/my_application.cc b/linux/my_application.cc index 756679d3..3452446b 100644 --- a/linux/my_application.cc +++ b/linux/my_application.cc @@ -47,7 +47,9 @@ static void my_application_activate(GApplication* application) { gtk_window_set_title(window, "Yubico Authenticator"); } - gtk_window_set_default_size(window, 400, 720); + gtk_window_set_default_size(window, 320, 720); + // Sets the minimum window size, should match desktop/window_manager_helper/defaults.dart + gtk_widget_set_size_request(GTK_WIDGET(window), 300, 0); gtk_widget_realize(GTK_WIDGET(window)); g_autoptr(FlDartProject) project = fl_dart_project_new();