The last line is automatically justified when using textFormat="formatted". I've seen in another issue here that you suggest to use the JustifiedSpan. The problem with that is I cannot know in advance how long the last line will be, and the span must consist of the entire line (so setting it just to the last character/word won't help). When using textFormat="plain" it works well. I've attached 2 screenshots, so you can see the difference.
Please let me know if there's something I got wrong. If you have any idea of how to solve it, I would be extremely thankful.
Hello,
The last line is automatically justified when using textFormat="formatted". I've seen in another issue here that you suggest to use the JustifiedSpan. The problem with that is I cannot know in advance how long the last line will be, and the span must consist of the entire line (so setting it just to the last character/word won't help). When using textFormat="plain" it works well. I've attached 2 screenshots, so you can see the difference.
Please let me know if there's something I got wrong. If you have any idea of how to solve it, I would be extremely thankful.
Goni
|