diff --git a/modules/juce_gui_basics/drawables/juce_DrawableComposite.cpp b/modules/juce_gui_basics/drawables/juce_DrawableComposite.cpp index 8b1caf4154..0c0f6737d1 100644 --- a/modules/juce_gui_basics/drawables/juce_DrawableComposite.cpp +++ b/modules/juce_gui_basics/drawables/juce_DrawableComposite.cpp @@ -192,7 +192,7 @@ void DrawableComposite::updateBoundsToFitChildren() for (int i = getNumChildComponents(); --i >= 0;) if (Component* const c = getChildComponent(i)) - c->setBounds (c->getBoundsInParent() - delta); + c->setBounds (c->getBounds() - delta); } setBounds (childArea);