UIComponent does not have any layout logic. Your subclass is responsible for laying out its children in the updateDisplayList() call and responding to any alignment or other styles you want to care about
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of learner Sent: Thursday, January 10, 2008 5:23 AM To: [email protected]; Flashcoders mailing list Subject: [flexcomponents] SetStyle with UI component Hi all, Can I not use setSytle("verticalAling","middle") setSytle("horizontal","center") with uiComponent things like mycomp extends UIComponent{ function mycomp (){ super(); setSytle("verticalAling","middle") setSytle("horizontal","center") // this does not work :( } } Please help Regards Ps
