0 Replies Latest reply on Jul 30, 2007 10:58 AM by mrharb007

    Centering in UITextField

      Hi Guys,

      I am unable to get a UITextField to center its text. The statement I use is:

      var t:UITextField = new UITextField();
      t.setStyle("textAlign", "center");

      and in updateDisplaylist(w,h), I set t.setActualSize(w, h); ... the width is proper but the text is not centered.

      Any Ideas?

      Thanks in advance!