Re: Layout and property bindings question, what is allowed?

2024-02-09 Thread John Hendrikx
Hi Nir, Thanks, yes, those are what I was thinking about.  It seems to apply to more properties though, anything that is changed in a layout methods seems like a bad idea to bind to something else that may affect layout. ScrollPane#viewportBoundsProperty seems to be such a property that you

Re: Layout and property bindings question, what is allowed?

2024-02-09 Thread Nir Lisker
You're thinking about the docs of the note in the bounds properties I think: https://openjfx.io/javadoc/21/javafx.graphics/javafx/scene/Node.html#boundsInLocalProperty() https://openjfx.io/javadoc/21/javafx.graphics/javafx/scene/Node.html#boundsInParentProperty() On Fri, Feb 9, 2024, 03:28 John H

Layout and property bindings question, what is allowed?

2024-02-08 Thread John Hendrikx
Hi, I'm pretty sure I read somewhere in JavaFX docs, code or website that binding certain properties which are changed during layout is a really bad idea, but I can't find where I've seen this.  Anyone know what I mean? It was something like: binding the values of a property like width/heigh