Does a hidden component occupy space?

Hi,

I created a window which is high enough that i get a vertical scroll bar and i will have to scroll down to see the contents of the entire window. I then hid the window using the visibility hidden property.

Surprisingly, i still see the vertical scroll bar. This affects my layout as i get a blank space at the bottom beneath the ‘not so high’ visible component.Does the hidden window take the space? If yes, Why?

This happens for the tab sets too. Please help me in overcoming this. How can i avoid those scrollbarS?

Hello,

Hidden components do take up space (as they do with HTML in general). You can clear() the Window to avoid scrollbars, but a better approach is probably to allow the Window itself to scroll instead of the browser as a whole.