widthFlex and heightFlex aren't used anymore, you should use width='x%' or height='x%'.
widthFLex and heightFlex were used to calculate the space occupied by that component inside his parent.
Now you use width and height for constant and percentual sizes just like in HTML.
 

João Fernandes

Secção de Desenvolvimento

Departamento de Informática

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of byronyeh
Sent: quinta-feira, 5 de Janeiro de 2006 3:18
To: [email protected]
Subject: [flexcoders] widthFlex and heightFlex deprecated

I am currently using Flex1.5 to do a pilot project. However everytime I
try to use widthFlex=1 and heightFlex=1, I will get the following
warning message

Warning C:\Tomcat5.5
\webapps\JWebFlex\restaurantadmin\view\LinkManager.mxml:42
Property mx.controls.DataGrid.heightFlex is deprecated.  Please use
height='n%', where n is a number from 1 to 100.

So My question are,
1. What are widthFlex and heightFlex used for?

2. Since heightFlex/widthFlex has been deprecated, what are their
replacement attributes.

thanks






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




YAHOO! GROUPS LINKS




Reply via email to