Maybe you could create a cell renderer that is a VBox and put a Label inside that is aligned to the right?  You get the cell renderer in by doing cb.getDropdown().cellRenderer = …

 

Matt

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sauro, Nick
Sent: Tuesday, January 31, 2006 11:46 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] combox drop down aligning to the right?

 

Currenly, when a ComoBox is created, the default setting when it drops down, is the list is flush with the left side of the comobox.  Is there a way to make the Combobox’s dropdown list align with the right?

 

 Currently:

[ select]

[ item          ]

[ item          ]

 

Can that be changed to

                 [select]

           [item         ]

           [item         ]

 

I tried creating a Button, which when clicked, would use PopUpManager to create a List right below it, but that’s growing into a mini project all in itself, and I want to make sure I’m not over looking something(even though I checked the Flex docs, and there seems to be no property which does so)

 

Thanks everyone

 

Nick             




--
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