Fix assert where wxFormBuilder rows disagreed with controls.
This commit is contained in:
parent
8fe5ff612d
commit
f1ef18edcb
|
@ -21,7 +21,7 @@ DIALOG_GRAPHIC_ITEM_PROPERTIES_BASE::DIALOG_GRAPHIC_ITEM_PROPERTIES_BASE( wxWind
|
||||||
wxBoxSizer* bUpperSizer;
|
wxBoxSizer* bUpperSizer;
|
||||||
bUpperSizer = new wxBoxSizer( wxHORIZONTAL );
|
bUpperSizer = new wxBoxSizer( wxHORIZONTAL );
|
||||||
|
|
||||||
m_fgUpperLeftGridSizer = new wxFlexGridSizer( 4, 3, 0, 0 );
|
m_fgUpperLeftGridSizer = new wxFlexGridSizer( 8, 3, 0, 0 );
|
||||||
m_fgUpperLeftGridSizer->AddGrowableCol( 1 );
|
m_fgUpperLeftGridSizer->AddGrowableCol( 1 );
|
||||||
m_fgUpperLeftGridSizer->SetFlexibleDirection( wxBOTH );
|
m_fgUpperLeftGridSizer->SetFlexibleDirection( wxBOTH );
|
||||||
m_fgUpperLeftGridSizer->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
|
m_fgUpperLeftGridSizer->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
|
||||||
|
|
|
@ -116,7 +116,7 @@
|
||||||
<property name="name">m_fgUpperLeftGridSizer</property>
|
<property name="name">m_fgUpperLeftGridSizer</property>
|
||||||
<property name="non_flexible_grow_mode">wxFLEX_GROWMODE_SPECIFIED</property>
|
<property name="non_flexible_grow_mode">wxFLEX_GROWMODE_SPECIFIED</property>
|
||||||
<property name="permission">protected</property>
|
<property name="permission">protected</property>
|
||||||
<property name="rows">4</property>
|
<property name="rows">8</property>
|
||||||
<property name="vgap">0</property>
|
<property name="vgap">0</property>
|
||||||
<object class="sizeritem" expanded="0">
|
<object class="sizeritem" expanded="0">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
|
|
Loading…
Reference in New Issue