mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-22 00:12:09 +03:00
Enforce minimum window width on Linux
This commit is contained in:
parent
25eea079c6
commit
593c2276eb
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user