The "leading" style

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of cuttenv
Sent: Wednesday, August 13, 2008 11:25 AM
To: [email protected]
Subject: [flexcoders] Re: WordWrapping a Label

 

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "shafram" <[EMAIL PROTECTED]> wrote:
>
> Thanks for the responses. As a follow on question, is there a way to
> control the spacing in between the lines (for example single space,
> double space).... When the word wraps there is too much of a gap in
> between the lines, and it would be nice to control that spacing.
> 
> Thanks
> 
> 
> --- In [email protected]
<mailto:flexcoders%40yahoogroups.com> , Scott Melby <smelby@> wrote:
> >
> > Make sure you set the width property, or the text will not wrap.
> > 
> > hth
> > Scott
> > 
> > -- 
> > Scott Melby
> > Founder, Fast Lane Software LLC
> > http://www.fastlanesw.com <http://www.fastlanesw.com> 
> > 
> > 
> > Gordon Smith wrote:
> > > You need to use <mx:Text> instead of <mx:Label>.
> > >
> > > 
> > >
> > > Gordon Smith
> > >
> > > Adobe Flex SDK Team
> > >
> > > 
> > >
> > > ________________________________
> > >
> > > From: [email protected]
<mailto:flexcoders%40yahoogroups.com> 
> [mailto:[email protected]
<mailto:flexcoders%40yahoogroups.com> ] On
> > > Behalf Of shafram
> > > Sent: Tuesday, August 12, 2008 5:43 PM
> > > To: [email protected]
<mailto:flexcoders%40yahoogroups.com> 
> > > Subject: [flexcoders] WordWrapping a Label
> > >
> > > 
> > >
> > > Hi is there a way to Word wrap a label? I know about the
truncateToFit
> > > property but that's not exactly what I'm looking for.
> > >
> > > Thanks 
> > >
> > > 
> > >
> > >
> > >
> >
>
Yup! There is a style called leading that is the line spacing between
rows of text ;)
Think of it like this label is for only one row of text so that when the
text is too long it can 
go ... meaning there is text that got cut off whereas the text tag has
multiple rows of text.

 

Reply via email to