views:

17

answers:

2

How to make text in flex justified (text-align option)

+1  A: 

Short questions, short answer:

myLabel.setStyle('textAlign', 'left');
clownbaby
+1  A: 

If I understand you correctly, you want the text of your paragraph to be flush on both the right and left sides, which means you want to set the textAlign style to be TextAlign.JUSTIFY (which is really just a static member that maps to the string 'justify'.) Hope that helps.

Wade Mueller