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

GridPane layout reacts strangely to colSpan=REMAINING

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 7u6
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:

      Description

      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

        Attachments

        1. GridPaneBug.fxml
          2 kB
        2. GridPaneBug.png
          GridPaneBug.png
          340 kB
        3. GridPaneBug2.png
          GridPaneBug2.png
          353 kB

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: