[gtk/matthiasc/for-master] node-editor: Don't make paned shrinkable




commit 66901976738e0931bf18cd2f7798cdd6f43da154
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Nov 18 17:24:38 2021 -0500

    node-editor: Don't make paned shrinkable
    
    When the handle is dragged all the way to the left,
    it is impossible to get it back. Which is not fun.

 demos/node-editor/node-editor-window.ui | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/demos/node-editor/node-editor-window.ui b/demos/node-editor/node-editor-window.ui
index 1fb55e4f7d..0ac7142a04 100644
--- a/demos/node-editor/node-editor-window.ui
+++ b/demos/node-editor/node-editor-window.ui
@@ -161,9 +161,10 @@
     </child>
     <child>
       <object class="GtkPaned">
+        <property name="shrink-start-child">false</property>
         <property name="shrink-end-child">false</property>
         <property name="position">400</property>
-        <child>
+        <property name="start-child">
           <object class="GtkScrolledWindow">
             <property name="hscrollbar-policy">never</property>
             <property name="hexpand">1</property>
@@ -184,8 +185,8 @@
               </object>
             </child>
           </object>
-        </child>
-        <child>
+        </property>
+        <property name="end-child">
           <object class="GtkBox">
             <child>
               <object class="GtkScrolledWindow">
@@ -231,7 +232,7 @@
               </object>
             </child>
           </object>
-        </child>
+        </property>
       </object>
     </child>
   </template>


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