[gnome-games] ui: Add borders around all lists in preferences



commit acb4e6e430721c630a9d2c35307a56da069163b6
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Sun Jul 22 02:06:15 2018 +0500

    ui: Add borders around all lists in preferences
    
    Make Video and Controllers pages consistent with Plugins.

 data/ui/preferences-page-controllers.ui | 34 ++++++++++++---------------------
 data/ui/preferences-page-video.ui       | 17 ++++++-----------
 2 files changed, 18 insertions(+), 33 deletions(-)
---
diff --git a/data/ui/preferences-page-controllers.ui b/data/ui/preferences-page-controllers.ui
index 14f3a147..2e992ea8 100644
--- a/data/ui/preferences-page-controllers.ui
+++ b/data/ui/preferences-page-controllers.ui
@@ -34,26 +34,21 @@
                     <property name="border_width">12</property>
                     <property name="valign">start</property>
                     <property name="hexpand">True</property>
-                    <property name="shadow_type">none</property>
+                    <property name="shadow_type">in</property>
+                    <property name="label_yalign">1</property>
                     <child>
-                      <object class="GtkAlignment">
+                      <object class="GtkListBox" id="gamepads_list_box">
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
-                        <property name="top_padding">12</property>
-                        <child>
-                          <object class="GtkListBox" id="gamepads_list_box">
-                            <property name="visible">True</property>
-                            <property name="can_focus">False</property>
-                            <property name="selection_mode">none</property>
-                            <signal name="row-activated" handler="gamepads_list_box_row_activated"/>
-                          </object>
-                        </child>
+                        <property name="selection_mode">none</property>
+                        <signal name="row-activated" handler="gamepads_list_box_row_activated"/>
                       </object>
                     </child>
                     <child type="label">
                       <object class="GtkLabel">
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
+                        <property name="margin_bottom">12</property>
                         <property name="label" translatable="yes">Gamepads</property>
                         <attributes>
                           <attribute name="weight" value="bold"/>
@@ -69,26 +64,21 @@
                     <property name="border_width">12</property>
                     <property name="valign">start</property>
                     <property name="hexpand">True</property>
-                    <property name="shadow_type">none</property>
+                    <property name="shadow_type">in</property>
+                    <property name="label_yalign">1</property>
                     <child>
-                      <object class="GtkAlignment">
+                      <object class="GtkListBox" id="keyboard_list_box">
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
-                        <property name="top_padding">12</property>
-                        <child>
-                          <object class="GtkListBox" id="keyboard_list_box">
-                            <property name="visible">True</property>
-                            <property name="can_focus">False</property>
-                            <property name="selection_mode">none</property>
-                            <signal name="row-activated" handler="keyboard_list_box_row_activated"/>
-                          </object>
-                        </child>
+                        <property name="selection_mode">none</property>
+                        <signal name="row-activated" handler="keyboard_list_box_row_activated"/>
                       </object>
                     </child>
                     <child type="label">
                       <object class="GtkLabel">
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
+                        <property name="margin_bottom">12</property>
                         <property name="label" translatable="yes">Keyboard</property>
                         <attributes>
                           <attribute name="weight" value="bold"/>
diff --git a/data/ui/preferences-page-video.ui b/data/ui/preferences-page-video.ui
index e900d7f9..8bfafa63 100644
--- a/data/ui/preferences-page-video.ui
+++ b/data/ui/preferences-page-video.ui
@@ -17,26 +17,21 @@
                 <property name="can_focus">False</property>
                 <property name="border_width">12</property>
                 <property name="valign">start</property>
-                <property name="shadow_type">none</property>
+                <property name="shadow_type">in</property>
+                <property name="label_yalign">1</property>
                 <child>
-                  <object class="GtkAlignment">
+                  <object class="GtkListBox" id="filter_list_box">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
-                    <property name="top_padding">12</property>
-                    <child>
-                      <object class="GtkListBox" id="filter_list_box">
-                        <property name="visible">True</property>
-                        <property name="can_focus">False</property>
-                        <property name="selection_mode">none</property>
-                        <signal name="row-activated" handler="filter_list_box_row_activated"/>
-                      </object>
-                    </child>
+                    <property name="selection_mode">none</property>
+                    <signal name="row-activated" handler="filter_list_box_row_activated"/>
                   </object>
                 </child>
                 <child type="label">
                   <object class="GtkLabel">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
+                    <property name="margin_bottom">12</property>
                     <property name="label" translatable="yes">Filter</property>
                     <attributes>
                       <attribute name="weight" value="bold"/>


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