[flexcoders] Variable-height popup

2010-04-12 Thread Richard Rodseth
In the context of:

mx:PopUpButton
  mx:popup
 mx:VBox
 
 /mx:VBox
  /mx:popup
/mx:PopUpButton

Is there a simple way to give the popup a height of, say, 50% of the
current application height, along with a min and max height?


Re: [flexcoders] Variable-height popup

2010-04-12 Thread Alex Harui
Set the height in code in a creationComplete and show handler


On 4/12/10 10:14 AM, Richard Rodseth rrods...@gmail.com wrote:






In the context of:

mx:PopUpButton
 mx:popup
 mx:VBox
 
 /mx:VBox
 /mx:popup
/mx:PopUpButton

Is there a simple way to give the popup a height of, say, 50% of the
current application height, along with a min and max height?





--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui