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:
parent
917804ef12
commit
e971b0e698
|
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue