On Fri, 23 Dec 2022 16:59:27 GMT, Karthik P K <[email protected]> wrote:
>> modules/javafx.graphics/src/main/java/javafx/css/StyleablePropertyFactory.java
>> line 146:
>>
>>> 144: // StyleableProperty implementation reduced to one line
>>> 145: private final {@literal StyleableProperty<Boolean>} selected =
>>> 146: new SimpleStyleableBooleanProperty(SELECTED, "selected",
>>> "my-selected");
>>
>> as an exercise, could you actually put MyButton into a scene graph and style
>> it with CSS?
>
> I will check this and update here
Do you think it's worth doing this as a unit test?
-------------
PR: https://git.openjdk.org/jfx/pull/983