DIALOG_EDIT_COMPONENTS_LIBID: fix the minimal size (previous code to fix this size was not working)
This commit is contained in:
parent
e75762b1e3
commit
4202bb6af6
|
@ -174,8 +174,8 @@ DIALOG_EDIT_COMPONENTS_LIBID::DIALOG_EDIT_COMPONENTS_LIBID( SCH_EDIT_FRAME* aPar
|
|||
int minwidth = 30 // a margin
|
||||
+ m_grid->GetRowLabelSize() + m_grid->GetColSize( COL_REFS )
|
||||
+ m_grid->GetColSize( COL_CURR_LIBID ) + m_grid->GetColSize( COL_NEW_LIBID );
|
||||
m_panelGrid->SetMinSize( wxSize( minwidth, -1) );
|
||||
Layout();
|
||||
|
||||
SetMinClientSize( wxSize( minwidth, VertPixelsFromDU( 250 ) ) );
|
||||
|
||||
SetSizeInDU( 500, 400 );
|
||||
Center();
|
||||
|
|
Loading…
Reference in New Issue