diff --git a/src/gui/panels/ValentineCenterPanel.cpp b/src/gui/panels/ValentineCenterPanel.cpp index 846649d0..174e12c0 100644 --- a/src/gui/panels/ValentineCenterPanel.cpp +++ b/src/gui/panels/ValentineCenterPanel.cpp @@ -117,14 +117,22 @@ void CenterPanel::resized() const auto topRowButtonSpacer = juce::roundToInt ((topRowSliders.getHeight() - topRowButtonWidth) * .5f); - crushEnableButton.setBounds ( - topRowSliders.removeFromLeft (topRowButtonWidth).reduced (0, topRowButtonSpacer)); + auto crushEnableButtonBounds = + topRowSliders.removeFromLeft (topRowButtonWidth).reduced (0, topRowButtonSpacer); + crushEnableButtonBounds.setX (crushEnableButtonBounds.getX() + + (crushEnableButtonBounds.getWidth() / 1.75f)); + crushEnableButton.setBounds (crushEnableButtonBounds); + crushSlider.setBounds (topRowSliders.removeFromLeft (topRowSliderWidth)); compressSlider.setBounds (topRowSliders.removeFromLeft (topRowSliderWidth)); - saturateEnableButton.setBounds ( - topRowSliders.removeFromLeft (topRowButtonWidth).reduced (0, topRowButtonSpacer)); + auto saturateEnableButtonBounds = + topRowSliders.removeFromLeft (topRowButtonWidth).reduced (0, topRowButtonSpacer); + saturateEnableButtonBounds.setX (saturateEnableButtonBounds.getX() + + (crushEnableButtonBounds.getWidth() / 1.75f)); + saturateEnableButton.setBounds (saturateEnableButtonBounds); + saturateSlider.setBounds (topRowSliders.removeFromLeft (topRowSliderWidth)); const auto logoHeight = juce::roundToInt (topRowComponents.getHeight() * .25f);