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

GridPane vGap problem when deleting grid child

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: fx2.0.2
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:
    • Environment:

      Windows 7 64 bit, JavaFX 2.02 and 2.0.1, Java version 6u29

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: