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

CSS Analyzer displays labelPadding Inspector value which doesn't read in the FXML file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • javafx
    • None

      Drop a Button on Content and look at CSS Analyzer (configured to hide properties with default values).
      See attached LabelPadding.
      When I save such a layout the FXML file contains for the button:

      </Button><Button mnemonicParsing="false" text="Button" />

      There's is no mention of some padding.
      It is confusing to have padding value in Inspector column of CSS Analyzer if it doesn't read in the FXML file. Possibly it is the persistence code that skips it given the value is the same as platform default one, but that doesn't prevent confusion.

            jcambon Jerome Cambon
            yjoan Yves Joan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: