Skip to content

Commit

Permalink
Place Save and Load buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseDiazRohena committed Feb 8, 2024
1 parent 0d2811c commit d028b07
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions libs/tote_bag/juce_gui/components/panels/PresetPanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,16 @@ void PresetPanel::resized()

mBypassButton.setBounds (
presetBounds.removeFromLeft (juce::roundToInt (bypassButtonWidth)));

presetBounds.removeFromLeft (juce::roundToInt (presetBoundsWidth * .11));

const auto saveLoadButtonsWidth (juce::roundToInt (presetBoundsWidth * .2f));

mSavePresetButton.setBounds (presetBounds.removeFromLeft (saveLoadButtonsWidth));

presetBounds.removeFromLeft (juce::roundToInt (presetBoundsWidth * .0234275f));

mLoadPresetButton.setBounds (presetBounds.removeFromLeft (saveLoadButtonsWidth));
}

void PresetPanel::setupPresetIncrementButtons()
Expand Down

0 comments on commit d028b07

Please sign in to comment.