mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 09:20:16 +01:00
Bug 2120 - Spectral Selection Toolbar can be truncated when undocked
This commit is contained in:
@@ -343,7 +343,12 @@ 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.
|
||||
|
||||
wxSize sz = GetMinSize();
|
||||
sz.SetWidth(wxDefaultCoord);
|
||||
SetMinSize(sz);
|
||||
Layout();
|
||||
Fit();
|
||||
Updated();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user