mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-25 15:53:52 +02:00
Automatic setting size hints in all choice controls in ShuttleGui...
... excpet in a few places that populate the choice control late and then do it explicitly
This commit is contained in:
@@ -157,14 +157,12 @@ void TracksPrefs::PopulateOrExchange(ShuttleGui & S)
|
||||
0,
|
||||
mViewChoices,
|
||||
mViewCodes);
|
||||
S.SetSizeHints(mViewChoices);
|
||||
|
||||
S.TieChoice(_("Display &samples:"),
|
||||
wxT("/GUI/SampleView"),
|
||||
1,
|
||||
mSampleDisplayChoices,
|
||||
mSampleDisplayCodes);
|
||||
S.SetSizeHints(mSampleDisplayChoices);
|
||||
|
||||
S.TieTextBox(_("Default audio track &name:"),
|
||||
wxT("/GUI/TrackNames/DefaultTrackName"),
|
||||
@@ -184,14 +182,12 @@ void TracksPrefs::PopulateOrExchange(ShuttleGui & S)
|
||||
WaveTrack::kZoomDefault,
|
||||
mZoomChoices,
|
||||
mZoomCodes);
|
||||
S.SetSizeHints(mZoomChoices);
|
||||
|
||||
S.TieChoice(_("Preset 2:"),
|
||||
wxT("/GUI/ZoomPreset2"),
|
||||
WaveTrack::kZoom4To1,
|
||||
mZoomChoices,
|
||||
mZoomCodes);
|
||||
S.SetSizeHints(mZoomChoices);
|
||||
}
|
||||
}
|
||||
S.EndStatic();
|
||||
|
||||
Reference in New Issue
Block a user