mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-28 06:08:40 +02:00
Bug1183: make spectrogram settings scrollable for limited resolution
This commit is contained in:
parent
ff60610adf
commit
4a4fa8d97c
@ -352,7 +352,13 @@ PrefsDialog::PrefsDialog
|
||||
// Frankly, this is a hack to work around a bug in wxTreebook, and
|
||||
// will have to be revisited if we add another category to mCategories.
|
||||
// JKC later added a category and 20 onto the 7.
|
||||
|
||||
sz.y += 7 + 20;
|
||||
|
||||
// PRL: Bug 161 is an obsolete concern with wx3; bug 1183 is a problem
|
||||
// of minimum size being too great at low resolution.
|
||||
sz.DecTo( ::wxGetDisplaySize() );
|
||||
|
||||
SetSize(sz);
|
||||
SetMinSize(sz);
|
||||
|
||||
|
@ -164,6 +164,8 @@ void SpectrumPrefs::PopulateOrExchange(ShuttleGui & S)
|
||||
// S.StartStatic(_("Track Settings"));
|
||||
// {
|
||||
|
||||
S.StartScroller(); {
|
||||
|
||||
mDefaultsCheckbox = 0;
|
||||
if (mWt) {
|
||||
/* i18n-hint: use is a verb */
|
||||
@ -297,6 +299,8 @@ void SpectrumPrefs::PopulateOrExchange(ShuttleGui & S)
|
||||
S.EndStatic();
|
||||
#endif
|
||||
|
||||
} S.EndScroller();
|
||||
|
||||
EnableDisableSTFTOnlyControls();
|
||||
|
||||
mPopulating = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user