Flex 4: Popup Anchor : Right to Left Display of Drop down
I customized flex 4 combobox to display popup in an auto width layout. But combobox shows dropdown list from Left to right as you can see in the Left side of image.
I actually want to display dropdown starting from right side, as described in the highlight开发者_开发百科ed image.
Thanks
(source: adobe.com)You could override the calculatePopUpPosition method to adjust the y position together with RIGHT for the popup position. Or maybe experiment with constraint based layout setting right - 0?
Its stupid that there is no BOTTOM_RIGHT property for spark.components.PopUpPosition
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/PopUpPosition.html
精彩评论