use proper task label

This commit is contained in:
Marco Martin 2020-07-17 11:27:38 +02:00
parent d5e0c7acc8
commit bdac73fdab
2 changed files with 4 additions and 4 deletions

View file

@ -103,10 +103,11 @@ Item {
bottom: parent.bottom bottom: parent.bottom
left: parent.left left: parent.left
right: parent.right right: parent.right
margins: units.smallSpacing
} }
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
elide: Text.ElideRight elide: Text.ElideRight
text: model.AppName text: model.display
} }
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent

View file

@ -198,14 +198,13 @@ NanoShell.FullScreenOverlay {
} }
PlasmaComponents.RoundButton { PlasmaComponents.RoundButton {
id: showDesktopButton
height: units.iconSizes.large
width: height
anchors { anchors {
horizontalCenter: parent.horizontalCenter horizontalCenter: parent.horizontalCenter
bottom: parent.bottom bottom: parent.bottom
} }
icon.name: "start-here-kde" icon.name: "start-here-kde"
icon.width: units.iconSizes.medium
icon.height: units.iconSizes.medium
onClicked: { onClicked: {
currentTaskIndex = -1; currentTaskIndex = -1;
window.hide(); window.hide();