On Mon, 3 Nov 2025 17:50:36 GMT, Kevin Rushforth <[email protected]> wrote:

> Then I noticed that the class in question, `ColorPalette.java`, is not a 
> public class.

Yes some of its styleable properties are present in modena.css and caspian.css 
- like `color-picker-grid` selector for instance.  It is not, however, 
specified in the CSS reference at all (even though the skin itself, 
`ColorPickerSkin` is a public class).  So if one wants to provide a custom 
ColorPicker skin, there is no middle ground - either use the stock 
implementation with a limited range of customization, or create your own.  This 
is the kind of difficulties one finds working with JavaFX - it's extremely 
difficult to extend.

So adding (an undocumented) styleable property to `ColorPalette.java` might 
solve the issue described in the ticket, without requiring a CSR since no 
public APIs are introduced, right?

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

PR Comment: https://git.openjdk.org/jfx/pull/1954#issuecomment-3481852465

Reply via email to