Commit eed4eb1e authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[ResultDelegate] Use theme.disabledColor

Makes text more readable on dark backgrounds by not changing the text opacity.
Subtext and category now have the same intensity, though.

Differential Revision: https://phabricator.kde.org/D25043
parent eda3d274
......@@ -147,7 +147,7 @@ MouseArea {
PlasmaComponents.Label {
id: typeText
text: resultDelegate.typeText
opacity: 0.5
color: theme.disabledTextColor
horizontalAlignment: Text.AlignRight
verticalAlignment: Text.AlignVCenter
......@@ -222,7 +222,9 @@ MouseArea {
// HACK If displayLabel is too long it will shift this label outside boundaries
// but still render the text leading to it overlapping the action buttons looking horrible
opacity: width > 0 ? 0.3 : 0
opacity: width > 0 ? 1 : 0
color: theme.disabledTextColor
height: undefined
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment