Bug 2466 - Linux: Filter Curve EQ GUI far too wide

This commit is contained in:
James Crook 2021-04-20 15:32:55 +01:00
parent 678dffa012
commit db5a988e7f
1 changed files with 6 additions and 1 deletions

View File

@ -1145,9 +1145,14 @@ void EffectEqualization::PopulateOrExchange(ShuttleGui & S)
if( mOptions != kEqOptionGraphic)
mUIParent->Layout();
if( mOptions == kEqOptionCurve)
mDrawMode = true;
if( mOptions == kEqOptionGraphic)
mDrawMode = false;
// "show" settings for graphics mode before setting the size of the dialog
// as this needs more space than draw mode
szrV->Show(szrG,true); // eq sliders
szrV->Show(szrG,!mDrawMode); // eq sliders
szrH->Show(szrI,true); // interpolation choice
szrH->Show(szrL,false); // linear freq checkbox