mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-22 00:12:09 +03:00
Remove minHeight constraint
This commit is contained in:
parent
cb3e491c32
commit
c071b9b8f7
@ -18,7 +18,6 @@ import 'dart:ui';
|
||||
|
||||
class WindowDefaults {
|
||||
static const minWidth = 300.0;
|
||||
static const minHeight = 400.0;
|
||||
static const minSize = Size(minWidth, minHeight);
|
||||
static const minSize = Size(minWidth, 0.0);
|
||||
static const bounds = Rect.fromLTWH(10.0, 10.0, 1100.0, 700.0);
|
||||
}
|
||||
|
@ -49,7 +49,7 @@ static void my_application_activate(GApplication* application) {
|
||||
|
||||
gtk_window_set_default_size(window, 1100, 700);
|
||||
// Sets the minimum window size, should match desktop/window_manager_helper/defaults.dart
|
||||
gtk_widget_set_size_request(GTK_WIDGET(window), 300, 400);
|
||||
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