RFR: 8350917: Allow parent nodes to provide CSS styleable properties for child nodes

John Hendrikx jhendrikx at openjdk.org
Sun Mar 16 21:36:01 UTC 2025


On Sun, 16 Mar 2025 18:53:41 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

>> 8350917: Allow parent nodes to provide CSS styleable properties for child nodes
>
> modules/javafx.graphics/src/main/java/javafx/scene/layout/Pane.java line 140:
> 
>> 138:         }
>> 139: 
>> 140:         String propertyName = name + " (parent property)";
> 
> I think a more sensible naming scheme would be something like "VBox.margin", which should be supplied as an argument and not generated on the fly.

I can change that to whatever you like.  Be aware this is only for the `toString` (both `getBean` and `getName` are optional methods to implement).

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/1714#discussion_r1997724336


More information about the openjfx-dev mailing list