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:27:51 -07:00
parent c4b447f3f9
commit b8f960ea09
1 changed files with 2 additions and 2 deletions

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->SetVisibleSeverities( REPORTER::RPT_WARNING | REPORTER::RPT_ERROR | REPORTER::RPT_ACTION );
m_messagePanel->GetSizer()->SetSizeHints(m_messagePanel); m_messagePanel->GetSizer()->SetSizeHints( this );
GetSizer()->SetSizeHints(this); GetSizer()->SetSizeHints( this );
} }