cancel
Showing results for 
Search instead for 
Did you mean: 

Hide tranparent container

Former Member
0 Kudos

Hello!

I use a transparent container in which other objects like dropdown boxes are presented. If no data for the container is available I set it and its subelements on invisible and the container including all enclosed elements disappears. But there remains an empty gap of the same size as the visible container. How can I prevent this? For the container I use a grid layout.

Regards,

Achim

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Achim,

When you want to set the container as invisible, set it's visibilty to 'WDVisibilty.NONE' instead of 'WDVisibility.BLANK'. WDVisibility.BLANK though makes the UI element as invisible, would take up the space in the view.'WDVisibilty.NONE' on the other hand doesn't take up the space also.

Hope this helps,

Best Regards,

Nibu.

Former Member
0 Kudos

Hello,

it is working. Thank you very much.

Regards,

Achim

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Achim,

Are you setting the visibility of the Transparent Container to WDVisibility.NONE?

If yes then there should be no gap.

If no then try this out.

Regards,

Shubham