1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-22 01:34:21 +00:00

Fixed a positioning bug in MultiChoicePropertyComponent

This commit is contained in:
ed 2018-03-28 18:33:37 +01:00
parent e24cfc864a
commit c70d321007

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;