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

GridPane ColumnSpan breaks the layout

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Withdrawn
    • Affects Version/s: 8
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:

      Description

      I put some content to a GridPane, it looks nice. Then I add a child with ColumnSpan=2 and it breaks the layout of the columns. After the fix for RT-30196 it happens only if column constraints are in place.

      Run the attached app. It is laid out nicely. Then uncomment the two lines creating the cell with ColumnSpan=2. Run the app again, the layout is broken.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              msladecek Martin Sládeček
              Reporter:
              psafrata Pavel Šafrata
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: