Add a valueOf() method to Insets

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 7u6
    • Component/s: javafx

      It is not currently possible to specify an Insets in FXML without a custom builder. Adding a static valueOf(String) method to the Insets class would allow a caller to specify insets using a string-based attribute value. For example (assuming that valueOf() converts a string of the form "top, left, bottom, right" to an Insets):

      <GridPane hgap="4" vgap="6" padding="4, 8, 4, 8">

            Assignee:
            Unassigned
            Reporter:
            Greg Brown (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported: