> I don't know of a way to do justified text in Flex

 

textAlign="justify" works on <mx:Text> and <mx:TextArea>, although it
isn't mentioned in the ASDoc for the textAlign style or in FlexBuilder's
codehints for this style.

 

See the flash.text.TextFormatAlign class in the ASDoc.

 

- Gordon

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Lachlan Cotter
Sent: Friday, December 01, 2006 9:27 PM
To: [email protected]
Subject: Re: [flexcoders] Best practices for displaying large texts

 

Hi Pablo,

 

I'm not sure this is the best answer to your question but as far as I
know the Text component is the right choice for displaying multi-line,
non-editable text. If you want your users to be able to edit the text,
you can use a TextArea instead.

 

I'm don't know of a way to do justified text in Flex. Sorry.

 

Lach

 

On 30/11/2006, at 12:15 AM, Pablo Apanasionek wrote:





Hey,

 

I'm trying to figure out the best (or at least optimal) way to display a
large text (e.g. a news article) with several paragraphs using Flex 2.
Would a Text control be the right one to use? Or is there another
technique that would render better? Is there any way to justify text on
-both- sides?

 

Thanks in advance,

Pablo Gustavo Apanasionek

 

 

Reply via email to