From b8f960ea092e655512d41d6032fe754e6a4a249e Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Tue, 22 May 2018 13:27:51 -0700 Subject: [PATCH] Correct message panel sizing Message panel in update PCB needs size hints from the dialog to correctly choose the size. --- pcbnew/dialogs/dialog_update_pcb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/dialogs/dialog_update_pcb.cpp b/pcbnew/dialogs/dialog_update_pcb.cpp index 6ed73d870a..c20da7c2a8 100644 --- a/pcbnew/dialogs/dialog_update_pcb.cpp +++ b/pcbnew/dialogs/dialog_update_pcb.cpp @@ -54,8 +54,8 @@ DIALOG_UPDATE_PCB::DIALOG_UPDATE_PCB( PCB_EDIT_FRAME* aParent, NETLIST* aNetlist m_messagePanel->SetVisibleSeverities( REPORTER::RPT_WARNING | REPORTER::RPT_ERROR | REPORTER::RPT_ACTION ); - m_messagePanel->GetSizer()->SetSizeHints(m_messagePanel); - GetSizer()->SetSizeHints(this); + m_messagePanel->GetSizer()->SetSizeHints( this ); + GetSizer()->SetSizeHints( this ); }