1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 14:02:57 +02:00

ShuttleGui::Style analogous to other functions

This commit is contained in:
Paul Licameli
2017-10-31 14:52:01 -04:00
parent 9eeef4713d
commit 1bfbfb9640
30 changed files with 153 additions and 136 deletions

View File

@@ -217,8 +217,8 @@ void EffectTimeScale::PopulateOrExchange(ShuttleGui & S)
S.EndMultiColumn();
S.StartHorizontalLay(wxEXPAND, 0);
{
S.SetStyle(wxSL_HORIZONTAL);
m_pSlider_RatePercentChangeStart = S.Id(ID_RatePercentChangeStart)
.Style(wxSL_HORIZONTAL)
.AddSlider( {}, DEF_RatePercentStart, MAX_RatePercentStart, MIN_RatePercentStart);
}
S.EndHorizontalLay();
@@ -240,8 +240,8 @@ void EffectTimeScale::PopulateOrExchange(ShuttleGui & S)
S.EndMultiColumn();
S.StartHorizontalLay(wxEXPAND, 0);
{
S.SetStyle(wxSL_HORIZONTAL);
m_pSlider_RatePercentChangeEnd = S.Id(ID_RatePercentChangeEnd)
.Style(wxSL_HORIZONTAL)
.AddSlider( {}, DEF_RatePercentEnd, MAX_RatePercentEnd, MIN_RatePercentEnd);
}
S.EndHorizontalLay();