hg: openjfx/8u-dev/rt: RT-34926: [ColorPicker] Selection draws badly when arrow keys are used to traverse
hang.vo at oracle.com
hang.vo at oracle.com
Tue Jan 21 17:48:25 PST 2014
Changeset: a804fa529ce6
Author: jgiles
Date: 2014-01-22 14:35 +1300
URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/a804fa529ce6
RT-34926: [ColorPicker] Selection draws badly when arrow keys are used to traverse
RT-34911: [ColorPicker] When hovering over color picker options, blue highlight border is not drawn on right and bottom of color rect
Summary: I've rewritten how the hovered colour is rendered, so that rather than simply scaling the rectangle (as was done in Modena), there is now a separate node that is placed in the correct location atop all other nodes. The general issue was that the scaling of the hovered node did not bring the node to the the front, so other colours in the palette were still drawing on top of the node.
! apps/toys/Hello/src/main/java/hello/HelloColorPicker.java
! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ColorPalette.java
! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/ColorPickerSkin.java
! modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/caspian/caspian.css
! modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/modena/modena.css
! modules/controls/src/test/java/com/sun/javafx/scene/control/skin/ColorPickerPaletteRetriever.java
More information about the openjfx-dev
mailing list