Only child component is clipped proportionally to used width

I have a single Component that holds a FileBrowserComponent and resize to full bounds. Rest components removed to test behaviour.
void resized() override { fileBrowser.setBounds(getBounds()); };
But it is clipped.

Juce component drawing bug

I have no idea what could create such behaviour.

I believe you want to use getLocalBounds()

1 Like

You are totally correct.
Thank you a lot!

1 Like