mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-28 14:18:41 +02:00
Bug2271, Compressor ratio slider should not overlap the label...
... commit 707a069 was at fault
This commit is contained in:
parent
b423413278
commit
33b5d151ac
@ -300,7 +300,7 @@ void EffectCompressor::PopulateOrExchange(ShuttleGui & S)
|
|||||||
MAX_Ratio * SCL_Ratio,
|
MAX_Ratio * SCL_Ratio,
|
||||||
MIN_Ratio * SCL_Ratio);
|
MIN_Ratio * SCL_Ratio);
|
||||||
mRatioSlider->SetPageSize(5);
|
mRatioSlider->SetPageSize(5);
|
||||||
mRatioText = S.AddVariableText(XO("XXXX:1"), true, //??
|
mRatioText = S.AddVariableText(RatioTextFormat( 1, 99.9 ), true,
|
||||||
wxALIGN_LEFT | wxALIGN_CENTER_VERTICAL);
|
wxALIGN_LEFT | wxALIGN_CENTER_VERTICAL);
|
||||||
|
|
||||||
/* i18n-hint: Particularly in percussion, sounds can be regarded as having
|
/* i18n-hint: Particularly in percussion, sounds can be regarded as having
|
||||||
@ -665,7 +665,7 @@ void EffectCompressor::UpdateUI()
|
|||||||
mNoiseFloorText->SetLabel(ThresholdFormat((int) mNoiseFloorDB).Translation());
|
mNoiseFloorText->SetLabel(ThresholdFormat((int) mNoiseFloorDB).Translation());
|
||||||
mNoiseFloorText->SetName(mNoiseFloorText->GetLabel()); // fix for bug 577 (NVDA/Narrator screen readers do not read static text in dialogs)
|
mNoiseFloorText->SetName(mNoiseFloorText->GetLabel()); // fix for bug 577 (NVDA/Narrator screen readers do not read static text in dialogs)
|
||||||
|
|
||||||
mRatioLabel->SetLabel(
|
mRatioLabel->SetName(
|
||||||
RatioLabelFormat(mRatioSlider->GetValue(), mRatio).Translation());
|
RatioLabelFormat(mRatioSlider->GetValue(), mRatio).Translation());
|
||||||
mRatioText->SetLabel(
|
mRatioText->SetLabel(
|
||||||
RatioTextFormat(mRatioSlider->GetValue(), mRatio).Translation());
|
RatioTextFormat(mRatioSlider->GetValue(), mRatio).Translation());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user