node-editor: Don't make paned shrinkable
authorMatthias Clasen <mclasen@redhat.com>
Thu, 18 Nov 2021 22:24:38 +0000 (17:24 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 18 Nov 2021 22:25:29 +0000 (17:25 -0500)
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

index 1fb55e4f7dee381b5d1faa13bef5d78f6bdb903d..0ac7142a043b3b40a9a8cd02b109776ad40554e7 100644 (file)
     </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>
               </object>
             </child>
           </object>
-        </child>
-        <child>
+        </property>
+        <property name="end-child">
           <object class="GtkBox">
             <child>
               <object class="GtkScrolledWindow">
               </object>
             </child>
           </object>
-        </child>
+        </property>
       </object>
     </child>
   </template>