Nested H/VBoxes make a mess with "expand" property in childs
Submitted by Lev Abashkin
Link to original bug (#578923)
Description
When HBox is put in VBox (and visa-versa) and inner H/VBox has "expand" set to "False", then Glade automatically sets "expand" to "False" in child widgets if they are containers. It happens after project loading or after creating widget in editor. I didn't test all combinations but when I made 3-level box model only top and bottom ones played a role, middle one made no effect.
Here is an example:
<interface>
<object class="GtkWindow" id="window1">
<child>
<object class="GtkHBox" id="top_hbox">
<property name="visible">
True</property>
<child>
<object class="GtkVBox" id="child_vbox">
<property name="visible">
True</property>
<property name="orientation">
vertical</property>
<child>
<object class="GtkToolbar" id="toolbar1">
<property name="visible">
True</property>
</object>
<packing>
<property name="position">
0</property>
</packing>
</child>
<child>
<object class="GtkMenuBar" id="menubar1">
<property name="visible">
True</property>
</object>
<packing>
<property name="position">
1</property>
</packing>
</child>
<child>
<object class="GtkButton" id="button1">
<property name="label" translatable="yes">
button</property>
<property name="visible">
True</property>
<property name="can_focus">
True</property>
<property name="receives_default">
True</property>
</object>
<packing>
<property name="position">
2</property>
</packing>
</child>
</object>
<packing>
<property name="expand">
False</property>
<property name="position">
0</property>
</packing>
</child>
<child>
<object class="GtkHBox" id="child_hbox">
<property name="visible">
True</property>
<child>
<object class="GtkToolbar" id="toolbar2">
<property name="visible">
True</property>
</object>
<packing>
<property name="position">
0</property>
</packing>
</child>
<child>
<object class="GtkMenuBar" id="menubar2">
<property name="visible">
True</property>
</object>
<packing>
<property name="position">
1</property>
</packing>
</child>
<child>
<object class="GtkButton" id="button2">
<property name="label" translatable="yes">
button</property>
<property name="visible">
True</property>
<property name="can_focus">
True</property>
<property name="receives_default">
True</property>
</object>
<packing>
<property name="position">
2</property>
</packing>
</child>
</object>
<packing>
<property name="expand">
False</property>
<property name="position">
1</property>
</packing>
</child>
</object>
</child>
</object>
</interface>