From e971b0e698b20b9d43ce28a2b2eb9905bf5c7694 Mon Sep 17 00:00:00 2001 From: Chris Pavlina Date: Sat, 6 Jan 2018 20:08:08 -0700 Subject: [PATCH] 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). --- eeschema/dialogs/dialog_edit_components_libid.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eeschema/dialogs/dialog_edit_components_libid.cpp b/eeschema/dialogs/dialog_edit_components_libid.cpp index fd90645139..adc01a8258 100644 --- a/eeschema/dialogs/dialog_edit_components_libid.cpp +++ b/eeschema/dialogs/dialog_edit_components_libid.cpp @@ -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(); }