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

Removing node from VBox does not trigger relayout

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx2.1
    • Fix Version/s: fx2.1
    • Component/s: javafx
    • Labels:

      Description

      I add some nodes programatically to a VBox inside a ScrollPane, those get appended as expected. If I remove one of those with vbox.getChildren().remove(node) a blank area is shown where the node previously was drawn. If I use vbox.getChildren().clear() and readd all others everything looks fine.

        Attachments

          Activity

            People

            Assignee:
            kwwong Kinsley Wong
            Reporter:
            sreimersjfx Sven Reimers (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: