mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 16:10:06 +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);
|
mHighCtrl->Show(!mbCenterAndWidth);
|
||||||
|
|
||||||
ValuesToControls();
|
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();
|
Updated();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user