From 1ddac57748ec05bc2c7bbb160fd36ce54e268d14 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Tue, 25 Jun 2024 10:44:48 +0200 Subject: [PATCH] DIALOG_SYNC_SHEET_PINS: minor fix (min size set) --- eeschema/sync_sheet_pin/dialog_sync_sheet_pins.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eeschema/sync_sheet_pin/dialog_sync_sheet_pins.cpp b/eeschema/sync_sheet_pin/dialog_sync_sheet_pins.cpp index cb76fc5f42..a374f7e91c 100644 --- a/eeschema/sync_sheet_pin/dialog_sync_sheet_pins.cpp +++ b/eeschema/sync_sheet_pin/dialog_sync_sheet_pins.cpp @@ -111,9 +111,10 @@ DIALOG_SYNC_SHEET_PINS::DIALOG_SYNC_SHEET_PINS( wxWindow* aParent, } } - m_sizerMain->Layout(); - m_sizerMain->Fit( this ); Bind( wxEVT_CLOSE_WINDOW, &DIALOG_SYNC_SHEET_PINS::OnClose, this ); + + // Now all widgets have the size fixed, call FinishDialogSettings + finishDialogSettings(); }