7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-07 18:15:32 +00:00

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

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 );
}