Define minHeight so 3D model grid doesn't grow to include all rows.

Fixes: lp:1787269
* https://bugs.launchpad.net/kicad/+bug/1787269
This commit is contained in:
Jeff Young 2018-08-19 12:04:24 +01:00
parent 4364384f06
commit b4bb36f017
2 changed files with 3 additions and 1 deletions

View File

@ -420,6 +420,8 @@ DIALOG_FOOTPRINT_BOARD_EDITOR_BASE::DIALOG_FOOTPRINT_BOARD_EDITOR_BASE( wxWindow
// Cell Defaults
m_modelsGrid->SetDefaultCellAlignment( wxALIGN_LEFT, wxALIGN_TOP );
m_modelsGrid->SetMinSize( wxSize( -1,86 ) );
sbSizer3->Add( m_modelsGrid, 1, wxEXPAND|wxRIGHT, 5 );
wxBoxSizer* bSizer3DButtons;

View File

@ -4600,7 +4600,7 @@
<property name="maximum_size"></property>
<property name="min_size"></property>
<property name="minimize_button">0</property>
<property name="minimum_size"></property>
<property name="minimum_size">-1,86</property>
<property name="moveable">1</property>
<property name="name">m_modelsGrid</property>
<property name="pane_border">1</property>