diff --git a/lookandfeel/contents/components/Clock.qml b/lookandfeel/contents/components/Clock.qml --- a/lookandfeel/contents/components/Clock.qml +++ b/lookandfeel/contents/components/Clock.qml @@ -44,20 +44,20 @@ spread: 0.3 color: "black" // matches Breeze window decoration and desktopcontainment } - + ColumnLayout { id: clock Label { text: Qt.formatTime(timeSource.data["Local"]["DateTime"]) - style: softwareRendering ? Text.Outline : undefined - styleColor: softwareRendering ? ColorScope.backgroundColor : undefined + style: softwareRendering ? Text.Outline : Text.Normal + styleColor: softwareRendering ? ColorScope.backgroundColor : "transparent" //no outline, doesn't matter font.pointSize: 48 Layout.alignment: Qt.AlignHCenter } Label { text: Qt.formatDate(timeSource.data["Local"]["DateTime"], Qt.DefaultLocaleLongDate) - style: softwareRendering ? Text.Outline : undefined - styleColor: softwareRendering ? ColorScope.backgroundColor : undefined + style: softwareRendering ? Text.Outline : Text.Normal + styleColor: softwareRendering ? ColorScope.backgroundColor : "transparent" //no outline, doesn't matter font.pointSize: 24 Layout.alignment: Qt.AlignHCenter } diff --git a/lookandfeel/contents/components/UserDelegate.qml b/lookandfeel/contents/components/UserDelegate.qml --- a/lookandfeel/contents/components/UserDelegate.qml +++ b/lookandfeel/contents/components/UserDelegate.qml @@ -183,8 +183,8 @@ height: implicitHeight // work around stupid bug in Plasma Components that sets the height width: constrainText ? parent.width : implicitWidth text: wrapper.name - style: softwareRendering ? Text.Outline : undefined - styleColor: softwareRendering ? ColorScope.backgroundColor : undefined + style: softwareRendering ? Text.Outline : Text.Normal + styleColor: softwareRendering ? ColorScope.backgroundColor : "transparent" //no outline, doesn't matter elide: Text.ElideRight horizontalAlignment: Text.AlignHCenter //make an indication that this has active focus, this only happens when reached with keyboard navigation