diff --git a/data/gtk/prefs.blp b/data/gtk/prefs.blp index ba28d3646eab4fce6faae3ec9ccc677d98c3d0e5..50be7f1dbabf73447c25ca919cb82b70bf60cfa5 100644 --- a/data/gtk/prefs.blp +++ b/data/gtk/prefs.blp @@ -6,17 +6,18 @@ using Gtk 4.0; using Adw 1; template $RugbyPrefWindow : Adw.PreferencesWindow { - default-height: 300; - default-width: 400; + default-width: -1; + default-height: -1; title: "Preferences"; modal: true; + search-enabled: false; Adw.PreferencesPage { Adw.PreferencesGroup { title: "Scoring"; Adw.ActionRow { - title: "Points for a converted tries"; + title: "Points for a converted try"; SpinButton try_spin { adjustment: Adjustment { @@ -24,7 +25,7 @@ template $RugbyPrefWindow : Adw.PreferencesWindow { upper: 7; step-increment: 1; }; - max-width-chars: 3; + max-width-chars: 1; valign: center; } } @@ -38,7 +39,7 @@ template $RugbyPrefWindow : Adw.PreferencesWindow { upper: 5; step-increment: 1; }; - max-width-chars: 3; + max-width-chars: 1; valign: center; } } @@ -52,7 +53,7 @@ template $RugbyPrefWindow : Adw.PreferencesWindow { upper: 3; step-increment: 1; }; - max-width-chars: 3; + max-width-chars: 1; valign: center; } }