It really depends how and where did you put your component, there are containers which can ignore H and V aligns. Also you may check WIDTH of the parent component, may be parent component wraps around children so tight there is no difference what horizontal Alight u used. Does vertical align works?
--- In [email protected], learner <[EMAIL PROTECTED]> wrote: > > does not work :( :( even after corrected typos > > On Jan 10, 2008 8:52 PM, lytvynyuk <[EMAIL PROTECTED]> wrote: > > > It suppose to be setSytle("horizontalAlign","center"), you missed > > Align there ;) > > > > > > --- In [email protected] <flexcomponents%40yahoogroups.com>, > > learner <peacocksea@> wrote: > > > > > > 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 > > > > > > > > > >
