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

Kevin Rushforth kcr at openjdk.org
Mon Nov 3 17:52:43 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

I was about to try and figure out why the lack of javadoc comments didn't fail the build. Then I noticed that the class in question, `ColorPalette.java`, is not a public class.

That means that this PR doesn't actually provide the desired functionality as far as the application is concerned.

This will need more work. I recommend moving it back to Draft until it is ready.

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

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


More information about the openjfx-dev mailing list