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

Labeled with wrapText=true and textAlignement.JUSTIFY eats space characters when wrapped

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 7u6
    • Fix Version/s: 8
    • Component/s: javafx
    • Environment:

      promoted b16

      Description

      Attached picture says it all. Workaround is to go with another textAlignement value.
      Attach NB project and FXML file to reproduce it: I create a Label within a StackPane. Simply shrink the window to trigger wrapping then you see one or the other space character being swallowed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fheidric Felipe Heidrich (Inactive)
                Reporter:
                yjoan Yves Joan (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: