On Mon, 22 Dec 2025 00:26:31 GMT, Michael Strauß <[email protected]> wrote:
> JavaFX already has this concept today, but we're not using the `Property` API > to model it. Layout constraints like `GridPane.columnIndex` or `HBox.margin` > are implemented as static getter/setter pairs. Since they are not first-class > properties, you don't get any of the nice property features (bindings, > listeners, styling, etc). I always found this design to be weird and unnecessary - these should be the properties/constraints of the container or the layout, not something stored in the child nodes. What happens when the said child is moved from one container to another?? It might be just me, but I fail to see the value of this proposal. ------------- PR Comment: https://git.openjdk.org/jfx/pull/2015#issuecomment-3774569552
