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

Parse CSS units in FXML Attributes

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 8
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:
    • Subcomponent:

      Description

      Based on this thread: http://mail.openjdk.java.net/pipermail/openjfx-dev/2013-May/007728.html

      Basically whenever a number is parsed into the FXML apply the standard CSS units and transform them to pixels before applying them to the item. For example:

      <ProgressBar prefWidth="10em" progress="80%" prefHeight="12pt" minWidth="1"/>

      All of the attributes would be valid, and parsed according to the CSS transforms done to stylesheets. Prior to this JIRA only the minWidth attribute would be accepted.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            shemnon Danno Ferrin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Imported: