[flexcoders] mx:ControlBar horizontalAlign=right - doesn't work?

2009-10-05 Thread Nick Middleweek
Hi,

I've got this MXML...

mx:ControlBar horizontalAlign=right
  mx:Button label=Cancel enabled=true
click={viewStackSearch.selectedIndex = 0;} /
/mx:ControlBar

... and I'm trying to get the button to be right aligned it doesn't work.

Am I missing something?


Thanks,
Nick


RE: [flexcoders] mx:ControlBar horizontalAlign=right - doesn't work?

2009-10-05 Thread Alex Harui
Works for me.  What did you see?

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

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Nick Middleweek
Sent: Monday, October 05, 2009 10:24 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] mx:ControlBar horizontalAlign=right - doesn't work?



Hi,

I've got this MXML...

mx:ControlBar horizontalAlign=right
  mx:Button label=Cancel enabled=true 
click={viewStackSearch.selectedIndex = 0;} /
/mx:ControlBar

... and I'm trying to get the button to be right aligned it doesn't work.

Am I missing something?


Thanks,
Nick