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

-fx-hgap & -fx-vgap does not work for flowpane

    Details

      Description

      defining hgap and vgap within css has no effect

      .main #imagesPane {
          -fx-hgap: 4;
          -fx-vgap: 4;
      }

      defining in fxml works as expected
      <ScrollPane VBox.vgrow="ALWAYS" fitToHeight="true" fitToWidth="true">
                              <FlowPane fx:id="imagesPane" VBox.vgrow="ALWAYS" vgap="4" hgap="4" />
                          </ScrollPane>

        Attachments

        1. RT19610.css
          0.1 kB
          Kinsley Wong
        2. RT19610.java
          1 kB
          Kinsley Wong

          Activity

            People

            • Assignee:
              kwwong Kinsley Wong
              Reporter:
              ageistjfx Alexander Geist (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: