Apache – FLEX: make element expand over sister elements

apache-flex

My application consists of a Panel with 3 VBox's inside it. the left most VBox contains a TileList. The TileList has many tiles and scrolls down very far so I want to give them an option to expand it. I want the Tilelist to stretch to the right covering the other 2 VBox's. Since it is on the left it is first in the MXML which I believe makes it lower on the display list.

What would be the best way to go about doing this?

Thanks!!

Best Answer

I set the Panel to layout Absolute, then put the TileList VBox last in the MXML so it would be highest on the display list. Then I used a < Resize /> to make it expand over its sister elements.

Related Topic