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

GridPane.addRow/addColumn methods should account for colSpan/rowSpan values

XMLWordPrintable

      For example, in the table where first node spans two rows, it should be possible to fill three nodes as following:

      GridPane.setRowSpan(spanNode, 2);
      gridPane.addRow(0, spanNode, node2);
      gridPane.addRow(1, node3);

      so that node3 goes into second column because first is occupied by spanNode.

      This is logical as javadoc for addRow method is saying the following: "If the row already contains nodes the specified nodes will be appended to the row." Unfortunately, it doesn't currently account for nodes that span from other rows/columns.

            msladecek Martin Sládeček
            mrkam Alexander Kuznetcov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: