Skip to content
Snippets Groups Projects
Verified Commit a48805bf authored by Bruce Cowan's avatar Bruce Cowan :airplane:
Browse files

Preference window improvements

parent 3c40185b
No related branches found
No related tags found
No related merge requests found
Pipeline #4426 passed
...@@ -6,17 +6,18 @@ using Gtk 4.0; ...@@ -6,17 +6,18 @@ using Gtk 4.0;
using Adw 1; using Adw 1;
template $RugbyPrefWindow : Adw.PreferencesWindow { template $RugbyPrefWindow : Adw.PreferencesWindow {
default-height: 300; default-width: -1;
default-width: 400; default-height: -1;
title: "Preferences"; title: "Preferences";
modal: true; modal: true;
search-enabled: false;
Adw.PreferencesPage { Adw.PreferencesPage {
Adw.PreferencesGroup { Adw.PreferencesGroup {
title: "Scoring"; title: "Scoring";
Adw.ActionRow { Adw.ActionRow {
title: "Points for a converted tries"; title: "Points for a converted try";
SpinButton try_spin { SpinButton try_spin {
adjustment: Adjustment { adjustment: Adjustment {
...@@ -24,7 +25,7 @@ template $RugbyPrefWindow : Adw.PreferencesWindow { ...@@ -24,7 +25,7 @@ template $RugbyPrefWindow : Adw.PreferencesWindow {
upper: 7; upper: 7;
step-increment: 1; step-increment: 1;
}; };
max-width-chars: 3; max-width-chars: 1;
valign: center; valign: center;
} }
} }
...@@ -38,7 +39,7 @@ template $RugbyPrefWindow : Adw.PreferencesWindow { ...@@ -38,7 +39,7 @@ template $RugbyPrefWindow : Adw.PreferencesWindow {
upper: 5; upper: 5;
step-increment: 1; step-increment: 1;
}; };
max-width-chars: 3; max-width-chars: 1;
valign: center; valign: center;
} }
} }
...@@ -52,7 +53,7 @@ template $RugbyPrefWindow : Adw.PreferencesWindow { ...@@ -52,7 +53,7 @@ template $RugbyPrefWindow : Adw.PreferencesWindow {
upper: 3; upper: 3;
step-increment: 1; step-increment: 1;
}; };
max-width-chars: 3; max-width-chars: 1;
valign: center; valign: center;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment