0
txtArea.setStyle("textAlign","justify");

次のようなテキストを表示します

textSample textSample textSample textSample textSample textSample textSample textSample
textSample textSample textSample textSample textSample textSample textSample textSample
textSample textSample textSample textSample textSample textSample textSample textSample
textSample

テキスト領域の最後の行は揃えられません。フレックス3の最後の行を揃えることは可能ですか?助けてください...

4

1 に答える 1

0

textAlignLast次のプロパティを使用できます。

txtArea.setStyle("textAlign", "justify");
txtArea.setStyle("textAlignLast", "justify"); /*or "center", "left", "right"*/
于 2012-09-04T10:34:22.653 に答える