Skip to main content

Bounds automaticly grown on click

1 reply [Last post]
maxired
Offline
Joined: 2009-05-22

Hello,

I am currently develloping an application in javafx and I got an issue with layoutBounds and others Bound of my CustomNode.

On each mouseEvent, the width and height of thoses bounds change without any explication.

Is that a javafx bug or a bug in my program ?

Thanks.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
maxired
Offline
Joined: 2009-05-22

That was a bug in my program, due to the fact that I used thoses Bounds dimensions to fix the size of an element of my customNode.
The probleme is that there is a margin between the size of the element inside the customNode and the value of the Bounds dimension.