[gnome-games/wip/exalm/libhandy4: 18/19] preferences-page-plugins: Wrap into a HdyColumn



commit f759ebb6f2dc82325fc9854f8c128ba3a4678141
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Mon Sep 17 16:49:40 2018 +0500

    preferences-page-plugins: Wrap into a HdyColumn
    
    Add nice whitespace on the left and right when the window is wide enough.

 data/ui/preferences-page-plugins.ui | 26 +++++++++++++++++---------
 1 file changed, 17 insertions(+), 9 deletions(-)
---
diff --git a/data/ui/preferences-page-plugins.ui b/data/ui/preferences-page-plugins.ui
index bda34acc..f3c1ea5e 100644
--- a/data/ui/preferences-page-plugins.ui
+++ b/data/ui/preferences-page-plugins.ui
@@ -11,19 +11,27 @@
           <object class="GtkViewport">
             <property name="visible">true</property>
             <child>
-              <object class="GtkBox">
+              <object class="HdyColumn">
                 <property name="visible">True</property>
-                <property name="orientation">vertical</property>
-                <property name="margin">12</property>
-                <property name="spacing">12</property>
+                <property name="expand">True</property>
+                <property name="maximum_width">600</property>
+                <property name="linear-growth-width">300</property>
                 <child>
-                  <object class="GtkFrame">
-                    <property name="visible">true</property>
-                    <property name="shadow-type">in</property>
+                  <object class="GtkBox">
+                    <property name="visible">True</property>
+                    <property name="orientation">vertical</property>
+                    <property name="margin">12</property>
+                    <property name="spacing">12</property>
                     <child>
-                      <object class="GtkListBox" id="list_box">
-                        <property name="selection-mode">none</property>
+                      <object class="GtkFrame">
                         <property name="visible">true</property>
+                        <property name="shadow-type">in</property>
+                        <child>
+                          <object class="GtkListBox" id="list_box">
+                            <property name="selection-mode">none</property>
+                            <property name="visible">true</property>
+                          </object>
+                        </child>
                       </object>
                     </child>
                   </object>


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