Because Application is a Container. Containers support automatically
sizing their children, while UIComponent expects children to be
explicitly sized.

 

Gordon Smith

Adobe Flex SDK team

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of jkasham
Sent: Saturday, May 10, 2008 8:18 PM
To: [email protected]
Subject: [flexcoders] question on UI Component Class

 

Why must I have to set the width and height of a new Button()when I
put it in a UIComponent() class using AS, and dont have to when I put
it in the application using AS?

 

Reply via email to