Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8314215

Trailing Spaces before Line Breaks Affect the Center Alignment of Text

XMLWordPrintable

    • b16
    • generic
    • generic

      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


        1. App.java
          1.0 kB
        2. right justification.png
          right justification.png
          42 kB
        3. screenshot-1.png
          screenshot-1.png
          31 kB

            jhendrikx John Hendrikx
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: