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

GridPane vGap problem when deleting grid child

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • 8
    • fx2.0.2
    • javafx
    • Windows 7 64 bit, JavaFX 2.02 and 2.0.1, Java version 6u29

      I have a GridPane which I do setVgap(5) on. I add say 10 children. All works just fine.

      I then delete some of the middle children, say children 4, 5 and 6. The GridPane removes the children, but leaves the 5 pixel vgap, so after deleting children 4, 5 and 6 I have a 15 pixel gap between child 3 and 7.

      I am pretty sure a bug like this has been reported in the past, but couldn't find it. Hence the new bug report. Sorry for no code example, but it's buried in the middle of a much larger app.

            ekrejcir Eva Krejčířová (Inactive)
            gmatthewsjfx Graham Matthews (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: