hg: openjfx/8/controls/rt: Fix for RT-16621: Selected text is blue even focus is on another control.
hang.vo at oracle.com
hang.vo at oracle.com
Tue Dec 18 19:18:09 PST 2012
Changeset: 46a1b0171a99
Author: rbair
Date: 2012-12-18 19:01 -0800
URL: http://hg.openjdk.java.net/openjfx/8/controls/rt/rev/46a1b0171a99
Fix for RT-16621: Selected text is blue even focus is on another control.
The fix is simply to style the TextArea such that it appears gray instead of blue when not focused. This required a fix to the css file, as well as to the TextInputControlSkin class. There was a bug there where it wouldn't notify the TextAreaSkin (via protected methods) when the highlight fill, or highlight text fill changed, and as a result, the CSS wasn't being applied to the TextAreaSkin.
! javafx-ui-controls/src/com/sun/javafx/scene/control/behavior/TextAreaBehavior.java
! javafx-ui-controls/src/com/sun/javafx/scene/control/behavior/TextFieldBehavior.java
! javafx-ui-controls/src/com/sun/javafx/scene/control/skin/TextAreaSkin.java
! javafx-ui-controls/src/com/sun/javafx/scene/control/skin/TextFieldSkin.java
! javafx-ui-controls/src/com/sun/javafx/scene/control/skin/TextInputControlSkin.java
! javafx-ui-controls/src/com/sun/javafx/scene/control/skin/caspian/caspian.css
More information about the openjfx-dev
mailing list