RFR: 8358023: javafx.scene.control.ColorPicker configure size of squares in color pallet

Andy Goryachev angorya at openjdk.org
Mon Nov 3 16:10:33 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

Question: should we make it a styleable property instead, so the application can configure it with CSS?

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

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


More information about the openjfx-dev mailing list