mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-15 23:59:37 +02:00
Bug 2120 - Spectral Selection Toolbar can be truncated when undocked
This commit is contained in:
parent
91b3389434
commit
37b36f5826
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user