In flex, how to have 'justify' text align option
How to make text in fl开发者_如何学Pythonex justified (text-align option)
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.
Short questions, short answer:
myLabel.setStyle('textAlign', 'left');
精彩评论