Add option 'sessionButtonOpacity', default user list text color to white

This commit is contained in:
hygienic-books 2022-03-06 18:08:55 +01:00
parent a8d6c111e9
commit db082d122d
4 changed files with 7 additions and 1 deletions

View File

@ -14,6 +14,7 @@ import QtQuick.Controls 1.3 as QQC
PlasmaComponents.ToolButton { PlasmaComponents.ToolButton {
id: root id: root
property int currentIndex: -1 property int currentIndex: -1
opacity: config.sessionButtonOpacity
implicitWidth: minimumWidth implicitWidth: minimumWidth

View File

@ -161,6 +161,7 @@ Item {
text: wrapper.name text: wrapper.name
style: softwareRendering ? Text.Outline : Text.Normal style: softwareRendering ? Text.Outline : Text.Normal
styleColor: softwareRendering ? PlasmaCore.ColorScope.backgroundColor : "transparent" //no outline, doesn't matter styleColor: softwareRendering ? PlasmaCore.ColorScope.backgroundColor : "transparent" //no outline, doesn't matter
color: 'white'
elide: Text.ElideRight elide: Text.ElideRight
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
//make an indication that this has active focus, this only happens when reached with keyboard navigation //make an indication that this has active focus, this only happens when reached with keyboard navigation

View File

@ -19,3 +19,5 @@ relativePositionX=0.3
relativePositionY=0.7 relativePositionY=0.7
showTopBar=true showTopBar=true
autofocusInput=true autofocusInput=true
sessionButtonOpacity=0.5

View File

@ -9,3 +9,5 @@ type=color
usernameLeftMargin=15 usernameLeftMargin=15
showTopBar=true showTopBar=true
autofocusInput=true autofocusInput=true
sessionButtonOpacity=0.5