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

add horizontal origin modes to TextOrigin

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: fx2.0
    • Component/s: javafx
    • Labels:

      Description

      Currently the x locaiton of the text node is always the left side of the rendered text. Unfortunately for more complex use cases it is needed to specify the x location as the center or the right side of the text. I suggest to add more modes to TextOrigin -> not only vertical we have so far, but also horizontal - TextOrigin.LEFT, TextOrigin.CENTER, TextOrigin.RIGHT. The default would be left. I realize TextOrigin is an enum, but perhaps it should be changed to int or we can have horizontal text origin ...

        Attachments

          Activity

            People

            Assignee:
            thor Thor Johannesson (Inactive)
            Reporter:
            mbrehovskjfx Martin Brehovsky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: