mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-04 15:50:10 +01:00
Fix for Spectral Selection bar layout from David Bailes.
This commit is contained in:
@@ -287,6 +287,7 @@ void SpectralSelectionBar::OnChoice(wxCommandEvent &)
|
||||
mHighCtrl->Show(!mbCenterAndWidth);
|
||||
|
||||
ValuesToControls();
|
||||
GetSizer()->Layout(); // Required so that the layout does not mess up on Windows when changing the format.
|
||||
wxWindowBase::GetSizer()->SetMinSize(wxSize(0, mHeight)); // so that height of toolbar does not change
|
||||
wxWindowBase::GetSizer()->SetSizeHints(this);
|
||||
Updated();
|
||||
|
||||
Reference in New Issue
Block a user