From f80517cd0c63fb02ebb2ce0f209a56677fe5e0e8 Mon Sep 17 00:00:00 2001 From: Bruce Cowan <bruce@bcowan.me.uk> Date: Mon, 27 Jul 2020 13:06:25 +0100 Subject: [PATCH] HIG compliance for the preference window --- data/prefs.ui | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/data/prefs.ui b/data/prefs.ui index 2365435..1120fe5 100644 --- a/data/prefs.ui +++ b/data/prefs.ui @@ -36,18 +36,20 @@ <object class="GtkGrid"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="margin_start">6</property> - <property name="margin_end">6</property> - <property name="margin_top">6</property> - <property name="margin_bottom">6</property> + <property name="margin_start">18</property> + <property name="margin_end">18</property> + <property name="margin_top">18</property> + <property name="margin_bottom">18</property> <property name="row_spacing">6</property> - <property name="column_spacing">6</property> + <property name="column_spacing">12</property> <child> <object class="GtkLabel"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Points for a converted try</property> - <property name="xalign">0</property> + <property name="label" translatable="yes">Points for a _converted try</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">try_spin</property> + <property name="xalign">1</property> </object> <packing> <property name="left_attach">0</property> @@ -58,8 +60,10 @@ <object class="GtkLabel"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Points for an unconverted try</property> - <property name="xalign">0</property> + <property name="label" translatable="yes">Points for an _unconverted try</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">utry_spin</property> + <property name="xalign">1</property> </object> <packing> <property name="left_attach">0</property> @@ -70,8 +74,10 @@ <object class="GtkLabel"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Points for a kick</property> - <property name="xalign">0</property> + <property name="label" translatable="yes">Points for a _kick</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">kick_spin</property> + <property name="xalign">1</property> </object> <packing> <property name="left_attach">0</property> -- GitLab