Parse CSS units in FXML Attributes

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 8
    • Component/s: 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.

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

              Created:
              Updated:
              Imported: