Browse Source

Fixed a positioning bug in MultiChoicePropertyComponent

tags/2021-05-28
ed 7 years ago
parent
commit
c70d321007
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      modules/juce_gui_basics/properties/juce_MultiChoicePropertyComponent.cpp

+ 4
- 1
modules/juce_gui_basics/properties/juce_MultiChoicePropertyComponent.cpp View File

@@ -287,7 +287,10 @@ void MultiChoicePropertyComponent::resized()
auto bounds = getLookAndFeel().getPropertyComponentContentPosition (*this);
bounds.removeFromBottom (5);
expandButton.setBounds (bounds.removeFromBottom (10));
auto buttonSlice = bounds.removeFromBottom (10);
expandButton.setSize (10, 10);
expandButton.setCentrePosition (buttonSlice.getCentre());
numHidden = 0;


Loading…
Cancel
Save