You can do this:

<mx:HBox width="400">
      <mx:Spacer width="100%"/>
      <mx:Button label="MyButton"/>
</mx:HBox>

You'll see the button is pushed to the right side of the 400 px wide hbox

Darren


>From: Husain Kitabi <[EMAIL PROTECTED]>
>Reply-To: [email protected]
>To: [email protected]
>Subject: [flexcoders] layout components from right in HBox
>Date: Sat, 3 Jun 2006 04:16:26 -0700 (PDT)
>
>Hi
>   How to layout components in HBox where if i want to add a button it
>should appear on the right end of the HBox.
>
>   Thanks
>
>
>hussain
>
>---------------------------------
>Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to