RFR: 8358023: javafx.scene.control.ColorPicker configure size of squares in color pallet
Andy Goryachev
angorya at openjdk.org
Mon Nov 3 21:19:00 UTC 2025
On Wed, 29 Oct 2025 15:10:43 GMT, Ziad El Midaoui <zelmidaoui at openjdk.org> wrote:
> Added new method `setSquareSize(double size)` to be able to customize the size of squares in `ColorPalette` which was previously hardcoded with a value 15
Good points!
I might suggest option 1 for this PR, with a follow-up created for improving CSS ref regarding the missing structure and styles (and maybe a discussion on the mailing list about what to document and where). I think we ought to document the default skin structure, but make it clear that the structure and the styles describe the default skin implementation for the purposes of styling.
I don't know whether it makes sense to extract the skins css ref into a separate document or not - it might still be easier from the hosting point of view to keep everything in one place since we don't really have a proper CMS.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1954#issuecomment-3482637925
More information about the openjfx-dev
mailing list