Hi,
I'm designing a Dialog using an XRC Editor and have a problem with a
FlexGridSizer not expanding its item properly:
The FlexGridSizer has a single row with 2 items, the one to expand, a
StaticBoxSizer with proportion 1,
and the other one, also a StaticBoxSizer, with proportion 0.
Unfortunately, the first StaticBoxSizer doesn't expand.
Here is a screenshot of the situation:
http://postimage.org/image/59wse2v4v/
http://postimage.org/image/j4v2wjpjz/
Can someone tell me what I'm doing wrong?
This is the corresponding XRC code of the flexgridsizer
<object class="sizeritem">
<option>1</option>
<flag>wxEXPAND</flag>
<border>5</border>
<object class="wxFlexGridSizer">
<rows>1</rows>
<cols>2</cols>
<vgap>0</vgap>
<hgap>0</hgap>
<growablecols></growablecols>
<growablerows></growablerows>
<object class="sizeritem">
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<object class="wxStaticBoxSizer">
<orient>wxVERTICAL</orient>
<label>Info</label>
<object class="sizeritem">
<option>1</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<object class="wxStaticText" name="m_staticText2">
<label>MyLabel</label>
<wrap>-1</wrap>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<flag>wxALL|wxEXPAND</flag>
<border>5</border>
<object class="wxStaticBoxSizer">
<orient>wxVERTICAL</orient>
<label>Arguments</label>
<object class="sizeritem">
<option>0</option>
<flag>wxALL</flag>
<border>5</border>
<object class="wxCheckListBox" name="m_checkList1">
<size>150,-1</size>
<content />
</object>
</object>
</object>
</object>
</object>
</object>