diff --git a/src/gui/panels/ValentineCenterPanel.cpp b/src/gui/panels/ValentineCenterPanel.cpp index 5d98d86c..a9931334 100644 --- a/src/gui/panels/ValentineCenterPanel.cpp +++ b/src/gui/panels/ValentineCenterPanel.cpp @@ -176,8 +176,12 @@ void CenterPanel::resized() const auto bottomRowButtonSpacer = juce::roundToInt ((bottomRowComponents.getHeight() - bottomRowButtonWidth) * .5f); - clipEnableButton.setBounds (bottomRowComponents.removeFromLeft (bottomRowButtonWidth) - .reduced (0, bottomRowButtonSpacer)); + // Scootch the clip button closer to the slider it relates to + auto clipButtonBounds = bottomRowComponents.removeFromLeft (bottomRowButtonWidth) + .reduced (0, bottomRowButtonSpacer); + clipButtonBounds.setX (clipButtonBounds.getX() + + (clipButtonBounds.getWidth() / 1.5f)); + clipEnableButton.setBounds (clipButtonBounds); outputSlider.setBounds (bottomRowComponents.removeFromLeft (bottomRowSliderWidth)); mixSlider.setBounds (bottomRowComponents.removeFromLeft (bottomRowSliderWidth));