DIALOG_SPICE_MODEL: fix a cosmetic issue (no room for the help text)
Fixes #10170 https://gitlab.com/kicad/code/kicad/issues/10170
This commit is contained in:
parent
2d1357dc54
commit
7c3f0612f1
|
@ -136,6 +136,10 @@ DIALOG_SPICE_MODEL::DIALOG_SPICE_MODEL( wxWindow* aParent, SCH_SYMBOL& aSymbol,
|
|||
|
||||
void DIALOG_SPICE_MODEL::Init()
|
||||
{
|
||||
// Reserve room for m_stInfoNote wxStaticText, to display longest texts ( 3 lines )
|
||||
m_stInfoNote->SetLabel("X\nX\nX\n");
|
||||
m_model->Layout();
|
||||
|
||||
m_pasValue->SetValidator( m_spiceValidator );
|
||||
|
||||
m_modelType->SetValidator( m_notEmptyValidator );
|
||||
|
@ -233,6 +237,8 @@ void DIALOG_SPICE_MODEL::Init()
|
|||
m_powerNotebook->RemovePage( m_powerNotebook->FindPage( m_pwrExtData ) );
|
||||
|
||||
m_scintillaTricks = std::make_unique<SCINTILLA_TRICKS>( m_libraryContents, wxT( "{}" ), false );
|
||||
|
||||
Layout();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue