RFR: 8354795: DialogPane show details button wipes out base style class "hyperlink"

Andy Goryachev angorya at openjdk.org
Thu Apr 24 22:40:55 UTC 2025


On Thu, 24 Apr 2025 22:26:43 GMT, John Hendrikx <jhendrikx at openjdk.org> wrote:

> The details button is private and not documented

it is not private: the method that creates it in the DialogPane:817 is protected, so the application can override it and get a pointer to the button, set styles, etc.

`protected Node createDetailsButton()`

>  I have to work-around it and copy the hyperlink styles specifically for details-button

Adding these styles to `modena.css` seems to be a better fix.  What do you think?

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

PR Comment: https://git.openjdk.org/jfx/pull/1779#issuecomment-2829008247
PR Comment: https://git.openjdk.org/jfx/pull/1779#issuecomment-2829011274


More information about the openjfx-dev mailing list