Pl_editor: Try to fix an issue on wxGTK in PROPERTIES_FRAME

(scroll bars not always shown).
This commit is contained in:
jean-pierre charras 2021-03-08 15:02:05 +01:00
parent a088032411
commit 6da25337a9
1 changed files with 5 additions and 0 deletions

View File

@ -70,6 +70,11 @@ PROPERTIES_FRAME::PROPERTIES_FRAME( PL_EDITOR_FRAME* aParent ) :
m_buttonOK->SetDefault();
// ensure sizers are up to date
// (fix an issue on GTK but should not create issues on other platforms):
m_swItemProperties->Fit();
m_swGeneralOpts->Fit();
m_stcText->Bind( wxEVT_STC_CHARADDED, &PROPERTIES_FRAME::onScintillaCharAdded, this );
}