mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-28 22:28:44 +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
|
// 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.
|
// will have to be revisited if we add another category to mCategories.
|
||||||
// JKC later added a category and 20 onto the 7.
|
// JKC later added a category and 20 onto the 7.
|
||||||
|
|
||||||
sz.y += 7 + 20;
|
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);
|
SetSize(sz);
|
||||||
SetMinSize(sz);
|
SetMinSize(sz);
|
||||||
|
|
||||||
|
@ -164,6 +164,8 @@ void SpectrumPrefs::PopulateOrExchange(ShuttleGui & S)
|
|||||||
// S.StartStatic(_("Track Settings"));
|
// S.StartStatic(_("Track Settings"));
|
||||||
// {
|
// {
|
||||||
|
|
||||||
|
S.StartScroller(); {
|
||||||
|
|
||||||
mDefaultsCheckbox = 0;
|
mDefaultsCheckbox = 0;
|
||||||
if (mWt) {
|
if (mWt) {
|
||||||
/* i18n-hint: use is a verb */
|
/* i18n-hint: use is a verb */
|
||||||
@ -297,6 +299,8 @@ void SpectrumPrefs::PopulateOrExchange(ShuttleGui & S)
|
|||||||
S.EndStatic();
|
S.EndStatic();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
} S.EndScroller();
|
||||||
|
|
||||||
EnableDisableSTFTOnlyControls();
|
EnableDisableSTFTOnlyControls();
|
||||||
|
|
||||||
mPopulating = false;
|
mPopulating = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user