I am using <mx:Text />. And yes, it will wrap if I set width or height to a value (not a percent value) but that is not what I want. It works with percentage width/height outside of the form, not inside.
I guess I give up and will just not use a form. Thanks! Sydney ----- Original Message ---- From: Darin Kohles <[EMAIL PROTECTED]> To: [email protected] Sent: Tuesday, March 11, 2008 4:53:33 PM Subject: Re: [AFFUG Discuss] Text in form not wrapping I believe that mx:Label is not capable of wrapping, you'll either need to use mx:TextField or mx:Text which do have the ability to wrap. On Tue, Mar 11, 2008 at 3:37 PM, Sydney R. Bennett <[EMAIL PROTECTED]> wrote: > > > I can't seem to find out if this is a known bug (I looked)....but if I have > text inside a form, the text will not wrap. There is space for the text to > wrap, but the text itself is not wrapping. So, if you delete some of the > text, the space gets smaller, but will not wrap. Text outside the form > wraps fine... > > <?xml version="1.0" encoding="utf-8"?> > > <mx:Text width="100%" text="This is text Outside the Form. The > word wrap is working fine. Lorem ipsum dolor sit amet, consectetuer > adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore > magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud > exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo > consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit > esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero > eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril > delenit augue duis dolore te feugait nulla facilisi."/> > > <mx:Form width="100%" height="100%"> > <mx:FormItem label="Description:" width="100%"> > <mx:Text width="100%" text="This is text inside the form. The > text is not wrapping. WHY!? Lorem ipsum dolor sit amet, consectetuer > adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore > magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud > exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo > consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit > esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero > eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril > delenit augue duis dolore te feugait nulla facilisi."/> > </mx:FormItem> > <mx:FormItem label="Other:"> > <mx:Label text="Test Text here" /> > </mx:FormItem> > </mx:Form> > </mx:Application> > > > Ideas? Do I just need to not use forms? > Sydney > > > > > > ________________________________ > Never miss a thing. Make Yahoo your homepage. > ------------------------------------------------------------- > To unsubscribe from this list, simply email the list with unsubscribe in the > subject line > > For more info, see http://www.affug.com > Archive @ http://www.mail-archive.com/discussion%40affug.com/ > List hosted by FusionLink > ------------------------------------------------------------- -- Darin Kohles RIA Application Developer ------------------------------------------------------------- To unsubscribe from this list, simply email the list with unsubscribe in the subject line For more info, see http://www.affug.com Archive @ http://www.mail-archive.com/discussion%40affug.com/ List hosted by http://www.fusionlink.com ------------------------------------------------------------- ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ------------------------------------------------------------- To unsubscribe from this list, simply email the list with unsubscribe in the subject line For more info, see http://www.affug.com Archive @ http://www.mail-archive.com/discussion%40affug.com/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
