From 97a40848044e35304b5ae78b1ca77543ec2248dc Mon Sep 17 00:00:00 2001 From: ed Date: Tue, 10 Apr 2018 11:21:35 +0100 Subject: [PATCH] Ensure that the expand button remains visible in MultiChoicePropertyComponent when expanding/shrinking the choice list --- .../properties/juce_MultiChoicePropertyComponent.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/juce_gui_basics/properties/juce_MultiChoicePropertyComponent.cpp b/modules/juce_gui_basics/properties/juce_MultiChoicePropertyComponent.cpp index 768a21040d..0d1526a6cf 100644 --- a/modules/juce_gui_basics/properties/juce_MultiChoicePropertyComponent.cpp +++ b/modules/juce_gui_basics/properties/juce_MultiChoicePropertyComponent.cpp @@ -326,6 +326,8 @@ void MultiChoicePropertyComponent::setExpanded (bool isExpanded) noexcept expandButton.setTransform (AffineTransform::rotation (expanded ? MathConstants::pi : MathConstants::twoPi, (float) expandButton.getBounds().getCentreX(), (float) expandButton.getBounds().getCentreY())); + + resized(); } //==============================================================================