A DESCRIPTION OF THE PROBLEM :
Trailing spaces before line breaks should not affect center alignment as Photoshop does not. You can find a video of Photoshop here: https://github.com/xulihang/ImageTrans-docs/issues/482
And here is a screenshot of Text in JavaFX. The first image displays the following text: "This is a paragraph" while the second displays the following text: "This is a
paragraph".
https://github.com/xulihang/JavaFX-samples/blob/main/alignment/screenshot.jpg
Trailing spaces before line breaks should not affect center alignment as Photoshop does not. You can find a video of Photoshop here: https://github.com/xulihang/ImageTrans-docs/issues/482
And here is a screenshot of Text in JavaFX. The first image displays the following text: "This is a paragraph" while the second displays the following text: "This is a
paragraph".
https://github.com/xulihang/JavaFX-samples/blob/main/alignment/screenshot.jpg
- duplicates
-
JDK-8145496 Incorrect TextLayout word wrap with right or center text alignment
- Closed