Commit 98f96ac6 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[Logout screen] Don't underline button when has focus

In the logout screen we use activeFocus to determin which action will be triggered.
Here you only have those buttons as controls, tabbing essentially changing it, so having an underline for focus isn't needed
and clutters the layout since the opacity already changes depending on your selection.

Differential Revision: https://phabricator.kde.org/D9452
parent e6bfe5d4
......@@ -26,6 +26,7 @@ Item {
property alias text: label.text
property alias iconSource: icon.source
property alias containsMouse: mouseArea.containsMouse
property alias font: label.font
signal clicked
activeFocusOnTab: true
......
......@@ -30,6 +30,7 @@ ActionButton {
Layout.alignment: Qt.AlignTop
iconSize: units.iconSizes.huge
opacity: activeFocus || containsMouse ? 1 : 0.5
font.underline: false
Behavior on opacity {
OpacityAnimator {
duration: units.longDuration
......
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