Correct message panel sizing

Message panel in update PCB needs size hints from the dialog to
correctly choose the size.
This commit is contained in:
Seth Hillbrand
2018-05-22 13:54:48 -07:00
parent c4b447f3f9
commit b8f960ea09
+2 -2
View File
@@ -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 );
}