DIALOG_EDIT_COMPONENTS_LIBID: fix the minimal size (previous code to fix this size was not working)

This commit is contained in:
jean-pierre charras 2018-04-21 17:53:54 +02:00
parent e75762b1e3
commit 4202bb6af6
1 changed files with 2 additions and 2 deletions

View File

@ -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();