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

Parse CSS units in FXML Attributes

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8
    • javafx

      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.

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

              Created:
              Updated:
              Imported: