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;
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;
}
}
......
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