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

GridPane layout reacts strangely to colSpan=REMAINING

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 7u6
    • javafx

      To reproduce:
      1) Run Scene Builder 1.0 b50 or later (which includes FX 2.2.0-b21).
      2) Open the attached GridPaneBug.fxml
           => you get the window depicted in GridPaneBug.png
      3) Select the "Changes will be lost if you don't save them" label
      4) In the "Layout" section of the Inspector, set columnSpan to REMAINING
           => the GridPane suddenly increases its height very strangely (see GridPaneBug2.png)
           => there is no reason for such increase
           => I suspect there is a layout bug in GridPane

        1. GridPaneBug.fxml
          2 kB
          Eric Le Ponner
        2. GridPaneBug.png
          340 kB
          Eric Le Ponner
        3. GridPaneBug2.png
          353 kB
          Eric Le Ponner

            msladecek Martin Sládeček
            eleponn Eric Le Ponner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: