开发者

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');
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜