Tuesday, May 27, 2008

Visible=false in Flex

In Flex you can hide a component using visible=false. This still includes it when calculating layout, so you will end up with a blank space the size of your component. To prevent this, use includeInLayout=false AND visible=false.