1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-01 16:19:43 +02:00

Fix for Spectral Selection bar layout from David Bailes.

This commit is contained in:
stevethefiddle@gmail.com 2014-12-20 15:39:35 +00:00
parent 4382a5c835
commit 9a0d4b2364

View File

@ -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();