Skip to content

Scrollpane/VBox containing BorderPane's allow only the last item to be interacted with #25

@Col-E

Description

@Col-E

For BorderPane the public void calculateNodeBounds() calculation sets the lower Y coordinate in such a way that all BorderPane instances in the VBox have the same starting Y coordinate.

This makes it so that in the class Context the method Node calculateHoverRecursive(Node parent, Node root) only ever allows interaction with the last item, because it thinks its bounds cover all the rest.

When switching the VBox items to a different class such as HBox the problem does not occur. Seem's like unintentional behavior of the BorderPane class.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions