Don't call FinishDialogSettings in DIALOG_EDIT_COMPONENTS_LIBID

Dialogs displaying a lot of scrollable data should use SetSizeInDU()
instead, as FinishDialogSettings() will set a minimum size equal to
whatever can contain all the data (making it overflow the screen for
large amounts).
This commit is contained in:
Chris Pavlina 2018-01-06 20:08:08 -07:00
parent 917804ef12
commit e971b0e698
1 changed files with 2 additions and 2 deletions

View File

@ -177,8 +177,8 @@ DIALOG_EDIT_COMPONENTS_LIBID::DIALOG_EDIT_COMPONENTS_LIBID( SCH_EDIT_FRAME* aPar
m_panelGrid->SetMinSize( wxSize( minwidth, -1) );
Layout();
// Now all widgets have the size fixed, call FinishDialogSettings
FinishDialogSettings();
SetSizeInDU( 360, 300 );
Center();
}