Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8358023

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

XMLWordPrintable

    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      I would like the ability to create larger squares in the ColorPicker, either by css or code would be fine.

      It turns out that SQUARE_SIZE is hardcoded to 15 in javafx.scene.control.skin.ColorPalette.

      At this point I am able to use a simple workaround:
      https://stackoverflow.com/questions/79641154/howto-increase-size-height-and-width-of-color-pallet-of-javafx-scene-control

      As an alternative it would be nice to utilize com.sun.javafx.scene.control.CustomColorDialog as a javafx control.


            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: