diff --git a/lookandfeel/contents/components/ActionButton.qml b/lookandfeel/contents/components/ActionButton.qml --- a/lookandfeel/contents/components/ActionButton.qml +++ b/lookandfeel/contents/components/ActionButton.qml @@ -27,6 +27,7 @@ property alias iconSource: icon.source property alias containsMouse: mouseArea.containsMouse property alias font: label.font + property alias labelRendering: label.renderType signal clicked activeFocusOnTab: true diff --git a/lookandfeel/contents/logout/LogoutButton.qml b/lookandfeel/contents/logout/LogoutButton.qml --- a/lookandfeel/contents/logout/LogoutButton.qml +++ b/lookandfeel/contents/logout/LogoutButton.qml @@ -31,6 +31,7 @@ Layout.alignment: Qt.AlignTop iconSize: units.iconSizes.huge opacity: activeFocus || containsMouse ? 1 : 0.5 + labelRendering: opacity !=1 ? Text.QtRendering : Text.NativeRendering // Remove once we've solved Qt bug: https://bugreports.qt.io/browse/QTBUG-70138 (KDE bug: https://bugs.kde.org/show_bug.cgi?id=401644) font.underline: false Behavior on opacity { OpacityAnimator {