On Fri, 18 Apr 2025 09:26:43 GMT, John Hendrikx <[email protected]> wrote:
> So... you want me to add more styles so it then ends up looking like a
> correctly colored hyperlink?
No. I would like to retain the existing functionality where the styles
alternate between
`[ "details-button", "less" ]` and `[ "details-button", "more" ]`
If you look at the existing code, the setAll() in line 825 gets invoked at the
moment the details button is created because the listener gets called in line
829.
So basically, your new code needs one change in (new) line 822:
`styleClasses.setAll("details-button");`
the rest is good.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1779#issuecomment-2815571644