Thanks for your help guys! :-)

I used Alex's example which he posted on his blog here:
http://blogs.adobe.com/aharui/2007/04/multiline_buttons.html

He seems to use the solution you suggested rueter007.

It works great.







On 29/01/2008, rueter007 <[EMAIL PROTECTED]> wrote:
>
>   textField will not be created in the constructor. your app will throw
> an exception if you do so. if you like to do what sherif said, you
> will have to do it in the createChildren method after you called
> super.createChildren or some other method that occurs after the
> textField is created..
>
> --- In [email protected] <flexcoders%40yahoogroups.com>, Sherif
> Abdou <[EMAIL PROTECTED]> wrote:
> >
> > Try this, extend the RadioButton
> > then in the constructor of the new Class do
> >
> > textField.multiline=true;
> >
> >
> > ----- Original Message ----
> > From: Sherif Abdou <[EMAIL PROTECTED]>
> > To: [email protected] <flexcoders%40yahoogroups.com>
> > Sent: Tuesday, January 29, 2008 11:14:23 AM
> > Subject: Re: [flexcoders] RadioButton's label - truncateToFit = false?
> >
> > u have a bit of code to show what ur trying to do or a picture at least
> >
> >
> > ----- Original Message ----
> > From: bjorn - <[EMAIL PROTECTED] com>
> > To: [EMAIL PROTECTED] ups.com
> > Sent: Tuesday, January 29, 2008 11:01:36 AM
> > Subject: Re: [flexcoders] RadioButton' s label - truncateToFit = false?
> >
> >
> > That didn't fix it, they're still truncated ...
> >
> >
> >
> >
> >
> >
> > On 29/01/2008, Sherif Abdou <[EMAIL PROTECTED] com> wrote:
> > just call the invalidateSize( );
> >
> >
> > ----- Original Message ----
> > From: bjorn - <[EMAIL PROTECTED] com>
> > To: [EMAIL PROTECTED] ups.com
> > Sent: Tuesday, January 29, 2008 6:58:30 AM
> > Subject: [flexcoders] RadioButton' s label - truncateToFit = false?
> >
> >
> > I have a problem with the label used by RadioButton - it truncates
> the text. Ideally I'd like to to have the text over several lines if
> there is no room for it (like mx:Text does).
> >
> > Is this possible?
> >
> > --
> >
> > ============ ========= ===
> > http://www.juicabil ity.com - flex blog
> > http://www.43min. com - funny movies
> >
> >
> >
> >
> >
> > Never miss a thing. Make Yahoo your homepage.
> >
> >
> >
> > --
> >
> > ============ ========= ===
> > http://www.juicabil ity.com - flex blog
> > http://www.43min. com - funny movies
> >
> >
> >
> >
> >
> > Looking for last minute shopping deals? Find them fast with Yahoo!
> Search.
> >
> >
> >
> >
> __________________________________________________________
> > Never miss a thing. Make Yahoo your home page.
> > http://www.yahoo.com/r/hs
> >
>
> 
>



-- 

========================
http://www.juicability.com - flex blog
http://www.43min.com - funny movies

Reply via email to