R – Flex having a VBox with Vertical Buttons

actionscript-3apache-flexflex3

I am trying to get a left hand like panel bar in my application, one much like the OneNote left hand(notebook) panel.

I have been trying to use a VBox with Buttons and setting the rotation on the buttons to 90. The buttons seem to disappear when I do this.

An example of what I am trying to achieve is here: http://www.rid00z.net/panelBarExample.png

What is the best way to achieve Vertically stacked buttons like this?

Best Answer

try putting all the buttons inside an Hbox and then setting the rotation of the Hbox to 90.

Oh and also make sure you rotate around using a point at the center.

Related Topic