Fix pad properties dialog control updating.

This fixes an issue (at least on GTK builds) where the hidden controls
that change when selecting a different pad type and or pad shape get
shown are not laid out correctly.
This commit is contained in:
Wayne Stambaugh 2023-10-26 13:36:14 -04:00
parent 1290cf6241
commit 98cae68ea5
1 changed files with 3 additions and 0 deletions

View File

@ -1679,6 +1679,9 @@ void DIALOG_PAD_PROPERTIES::updatePadSizeControls()
}
m_sizeXLabel->GetParent()->Layout();
resetSize();
Layout();
m_MainSizer->Fit( this );
}