Is this what you need? public final void setManaged(boolean value)
Property description: Defines whether or not this node's layout will be managed by it's parent. > On 22 Jul 2015, at 13:33, Mike Hearn <m...@plan99.net> wrote: > > One common layout task that seems harder than necessary in JavaFX is to > temporarily remove a node from the scene graph, without having to actually > mess about with the parent container. In HTML you can do use #foo { > display: none; } to hide something temporarily. In JFX you have to remove > from the parent container's child nodes list, and then remember where it > was so it can be put back later. > > The visible property is nearly good enough except that it doesn't affect > layout. Setting both visible and managed to false can sometimes work but > seems indirect. > > Is there any appetite for a boolean display property that makes layout > managers ignore/skip the child and also makes it invisible?