Set minWidth=0 on the HBox.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: [email protected] [mailto:[email protected]] On Behalf 
Of giladozer
Sent: Wednesday, June 24, 2009 6:20 AM
To: [email protected]
Subject: [flexcoders] HBox/VBox width=100% gets wider than the parent's width 
if children are wider





I'm want to use HBox to contain several list components.
I also want the HBox to have its width based on its parent's width ( 100%).
Should the sum of the HBox Children's width be wider than the HBox's parent's 
width - the HBox's width is then expanded to more than its parent's width.
I would like the HBox to have a vertical/horizontal scroller in that case.
What solutions are in hand ?

Thanks ...
Gilad

Reply via email to