From eac3c510d44204fa54ca187c232a7b28fdd9d0a5 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Wed, 27 Mar 2019 20:43:42 +0200 Subject: [PATCH] fixes for colors for Latte Components --- declarativeimports/components/ComboBox.qml | 2 +- declarativeimports/components/ItemDelegate.qml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/declarativeimports/components/ComboBox.qml b/declarativeimports/components/ComboBox.qml index 75744d07c..d6e70e58d 100644 --- a/declarativeimports/components/ComboBox.qml +++ b/declarativeimports/components/ComboBox.qml @@ -157,7 +157,7 @@ T.ComboBox { // Work around Qt bug where NativeRendering breaks for non-integer scale factors // https://bugreports.qt.io/browse/QTBUG-67007 renderType: Screen.devicePixelRatio % 1 !== 0 ? Text.QtRendering : Text.NativeRendering - color: theme.textColor //control.enabled ? theme.textColor : theme.disabledTextColor + color: theme.buttonTextColor //control.enabled ? theme.textColor : theme.disabledTextColor selectionColor: Kirigami.Theme.highlightColor selectedTextColor: Kirigami.Theme.highlightedTextColor diff --git a/declarativeimports/components/ItemDelegate.qml b/declarativeimports/components/ItemDelegate.qml index 466dd5e8e..8298b4a10 100644 --- a/declarativeimports/components/ItemDelegate.qml +++ b/declarativeimports/components/ItemDelegate.qml @@ -82,9 +82,9 @@ T.CheckDelegate { enabled: control.enabled opacity: { if (control.highlighted || control.pressed) { - return 0.7; + return 0.6; } else if (control.hovered && !control.pressed) { - return 0.4; + return 0.3; } return 0;