changeset 9672:e23a4c128805 jdk-9+114

8152392: Text in a disabled TextArea is lighter than text in a disabled TextField
author jgiles
date Mon, 11 Apr 2016 11:04:19 +1200
parents cbdf23eafed3
children 9c22f42c90ea 81ad92430d25
files modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/modena/modena.css
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/modena/modena.css	Sat Apr 09 13:57:32 2016 -0700
+++ b/modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/modena/modena.css	Mon Apr 11 11:04:19 2016 +1200
@@ -524,6 +524,11 @@
     -fx-opacity: 0.4;
 }
 
+/* Prevent opacity being applied twice for JDK-8152392 */
+.text-input:disabled > .scroll-pane {
+    -fx-opacity: 1.0;
+}
+
 /* ====   MNEMONIC THINGS   ================================================= */
 
 .mnemonic-underline {