Yeah (subject to scaling/transform/etc), see
http://livedocs.adobe.com/flex/3/langref/flash/text/TextLineMetrics.html

On Wed, Jul 1, 2009 at 11:11 AM, ACasualObserver <pof...@yahoo.com> wrote:

>
>
> Thanks for the quick reply.
>
> I am not counting for the 2 pixels. Are the pixels always there even if no
> border is drawn? Is it always 2 pixels?
>
>
> --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>, Daniel
> Freiman <freima...@...> wrote:
> >
> > Are you accounting for the 2 pixel border of the textfield?
> >
> > - Daniel Freiman
> >
> > On Wed, Jul 1, 2009 at 10:10 AM, ACasualObserver <pof...@...> wrote:
> >
> > >
> > >
> > > I need to place a text in a ActionScript 3 project. The supplied X and
> Y is
> > > left and baseline coordinates. I use UITextField and subtracted its
> > > baselinePosition from Y. This places the text very close to where it
> should
> > > be vertically but not the exact location (text displayed a little
> higher).
> > > Horizontal position is not accurate neither and text is positioned a
> little
> > > to the right of supplied X. I could not find any property in
> UITextField or
> > > TextFormat to correct this.
> > >
> > > Any idea?
> > >
> > > Thanks
> > >
> > >
> > >
> >
>
>  
>

Reply via email to