[gtkmm] Builder demo: Remove "expand" child property from the .ui file



commit 892449ee5ca259ccc740fd12f99a01e30340bd02
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Sat May 6 10:56:45 2017 +0200

    Builder demo: Remove "expand" child property from the .ui file
    
    Because it has been removed from GtkBox. Expand the ScrolledWindow.

 demos/gtk-demo/example_builder.ui |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/demos/gtk-demo/example_builder.ui b/demos/gtk-demo/example_builder.ui
index ec67917..72a8abe 100644
--- a/demos/gtk-demo/example_builder.ui
+++ b/demos/gtk-demo/example_builder.ui
@@ -33,7 +33,7 @@
   <object class="GtkWindow" id="window1">
     <property name="default_height">250</property>
     <property name="default_width">440</property>
-    <property name="title">Gtk::Builder demo</property>
+    <property name="title" translatable="yes">Gtk::Builder demo</property>
     <child>
       <object class="GtkBox" id="vbox1">
         <property name="visible">True</property>
@@ -158,9 +158,6 @@
               </object>
             </child>
           </object>
-          <packing>
-            <property name="expand">False</property>
-          </packing>
         </child>
         <child>
           <object class="GtkToolbar" id="toolbar1">
@@ -227,13 +224,13 @@
           </object>
           <packing>
             <property name="position">1</property>
-            <property name="expand">False</property>
           </packing>
         </child>
         <child>
           <object class="GtkScrolledWindow" id="scrolledwindow1">
             <property name="shadow_type">in</property>
             <property name="visible">True</property>
+            <property name="expand">True</property>
             <child>
               <object class="GtkTreeView" id="treeview1">
                 <property name="visible">True</property>
@@ -285,7 +282,6 @@
           </object>
           <packing>
             <property name="position">2</property>
-            <property name="expand">True</property>
           </packing>
         </child>
         <child>
@@ -294,7 +290,6 @@
           </object>
           <packing>
             <property name="position">3</property>
-            <property name="expand">False</property>
           </packing>
         </child>
       </object>


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