Shadows in H- or VBoxContainer

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By gimgones

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.

:bust_in_silhouette: Reply From: estebanmolca

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.

That’s it! Thank you! :slight_smile:

gimgones | 2021-08-20 17:22