Have you try this 

        paddingTop: 0;
        paddingBottom: 0;
        paddingRight: 0;
        paddingLeft: 0;

on TextArea?


--- In flexcoders@yahoogroups.com, bjorn <itrashm...@...> wrote:
>
> Any ideas on where I might find more info about this? .. or people 
who might
> know more ...
> 
> 
> 2008/12/2 bjorn <itrashm...@...>
> 
> > There is some padding before the first line in a TextArea. Have a 
look at
> > this image to see what I mean:
> >
> > http://i34.tinypic.com/4uz8s0.jpg
> >
> > I need to remove this, and the first solution that comes to mind 
is to find
> > that value and position the TextArea.y = TextArea.y - [that 
value]. The
> > padding before the first line seems to be equal (in most cases) 
to the
> > font's descent, which I can get from getTextLineMetrics().descent.
> >
> > However, this is not true in all cases. In some cases, the 
padding is more.
> >
> > Anyone have suggestions?
> >
> > Bjørn
> > --
> > ========================
> > http://www.juicability.com - flex blog
> > http://www.nospoiler.com - link to youtube videos without the 
spoilers
> >
> 
> 
> 
> -- 
> ========================
> http://www.juicability.com - flex blog
> http://www.nospoiler.com - link to youtube videos without the 
spoilers
>


Reply via email to