0 votes

Hi guys,

I use a VBox-Container to separate a header (panel) and a content area (scrollcontainer).

The header-part of the vbox-container drops a shadow (panel with styleboxflat).
But the shadow is not visible on the content area (below the header).

Is there a way to fix this? Something like a z-index I can set or so?

Kind regards.

Godot version 3.3.2
in Engine by (27 points)

1 Answer

+1 vote
Best answer

In the control (ScrollContainer), in canvas item> visibility there is an option called Show Behind Parent, activating it will show the node behind. If I understood correctly, this should solve it.

by (2,252 points)
selected by

That's it! Thank you! :)

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.