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:
parent
c4b447f3f9
commit
b8f960ea09
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue