[gnome-nibbles/arnaudb/wip/gtk4: 40/62] UI fixes.



commit b121a45b8d0f0b7c53c56af61dda964aae0add6f
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Mon Jun 15 19:25:58 2020 +0200

    UI fixes.

 data/ui/controls.ui | 1 -
 data/ui/nibbles.ui  | 5 ++---
 data/ui/players.ui  | 1 -
 data/ui/speed.ui    | 6 +-----
 4 files changed, 3 insertions(+), 10 deletions(-)
---
diff --git a/data/ui/controls.ui b/data/ui/controls.ui
index 72d0915..10f1f7e 100644
--- a/data/ui/controls.ui
+++ b/data/ui/controls.ui
@@ -49,7 +49,6 @@
     </child>
     <child>
       <object class="GtkButton">
-        <property name="can-default">True</property>
         <property name="use-underline">True</property>
         <!-- Translators: label of a button in the last panel displayed during game configuration (the 
"Controls" one); starts the game -->
         <property name="label" translatable="yes">_Start</property>
diff --git a/data/ui/nibbles.ui b/data/ui/nibbles.ui
index 3493c6a..4bbcfeb 100644
--- a/data/ui/nibbles.ui
+++ b/data/ui/nibbles.ui
@@ -56,8 +56,6 @@
     </style>
     <child type="titlebar">
       <object class="GtkHeaderBar" id="headerbar">
-        <!-- Translators: title of the window, as displayed in the headerbar -->
-        <property name="title" translatable="yes">Nibbles</property>
         <property name="show-title-buttons">True</property>
         <child type="start">
           <object class="GtkButton" id="new_game_button">
@@ -87,7 +85,8 @@
     </child>
     <child>
       <object class="GtkStack" id="main_stack">
-        <property name="homogeneous">True</property>
+        <property name="hhomogeneous">True</property>
+        <property name="vhomogeneous">True</property>
         <property name="margin-start">25</property>
         <property name="margin-end">25</property>
         <property name="margin-top">25</property>
diff --git a/data/ui/players.ui b/data/ui/players.ui
index 5b02567..b5cc66c 100644
--- a/data/ui/players.ui
+++ b/data/ui/players.ui
@@ -173,7 +173,6 @@
     </child>
     <child>
       <object class="GtkButton">
-        <property name="can-default">True</property>
         <property name="use-underline">True</property>
         <!-- Translators: label of a button in the "Number of players" panel displayed during game 
configuration (with a mnemonic that appears when pressing Alt); switch to next panel -->
         <property name="label" translatable="yes">_Next</property>
diff --git a/data/ui/speed.ui b/data/ui/speed.ui
index f3a6fb9..8734225 100644
--- a/data/ui/speed.ui
+++ b/data/ui/speed.ui
@@ -47,7 +47,6 @@
               <object class="GtkToggleButton" id="speed4">
                 <property name="hexpand">True</property>
                 <property name="halign">fill</property>
-                <property name="xalign">0.0</property>
                 <property name="use-underline">True</property>
                 <!-- Translators: title of a radiobutton in the "Preferences" panel displayed during game 
configuration (with a mnemonic that appears when pressing Alt); sets worms speed to "really slow" -->
                 <property name="label" translatable="yes">_Beginner</property>
@@ -63,7 +62,6 @@
               <object class="GtkToggleButton" id="speed3">
                 <property name="hexpand">True</property>
                 <property name="halign">fill</property>
-                <property name="xalign">0.0</property>
                 <property name="use-underline">True</property>
                 <!-- Translators: title of a radiobutton in the "Preferences" panel displayed during game 
configuration (with a mnemonic that appears when pressing Alt); sets worms speed to "quite slow" -->
                 <property name="label" translatable="yes">_Slow</property>
@@ -79,7 +77,6 @@
               <object class="GtkToggleButton" id="speed2">
                 <property name="hexpand">True</property>
                 <property name="halign">fill</property>
-                <property name="xalign">0.0</property>
                 <property name="use-underline">True</property>
                 <!-- Translators: title of a radiobutton in the "Preferences" panel displayed during game 
configuration (with a mnemonic that appears when pressing Alt); sets worms speed to "normal" -->
                 <property name="label" translatable="yes">_Medium</property>
@@ -95,7 +92,6 @@
               <object class="GtkToggleButton" id="speed1">
                 <property name="hexpand">True</property>
                 <property name="halign">fill</property>
-                <property name="xalign">0.0</property>
                 <property name="use-underline">True</property>
                 <!-- Translators: title of a radiobutton in the "Preferences" panel displayed during game 
configuration (with a mnemonic that appears when pressing Alt); sets worms speed to "fast" -->
                 <property name="label" translatable="yes">_Fast</property>
@@ -121,7 +117,7 @@
                 <property name="halign">fill</property>
                 <property name="use-underline">True</property>
                 <!-- Translators: label of a togglebutton in the "Preferences" panel displayed during game 
configuration (with a mnemonic that appears when pressing Alt); activates special bonuses -->
-                <property name="text" translatable="yes">_Enable fake bonuses</property>
+                <property name="label" translatable="yes">_Enable fake bonuses</property>
                 <property name="action-name">win.fakes</property>
                 <style>
                   <class name="speed-box"/>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]