Commit 5eecd4d8 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Show the state as well on the full representation

Otherwise we get an even more awkward full representation of the
plasmoid.

BUG: 397365
parent ed24ba46
......@@ -17,9 +17,11 @@
*/
import QtQuick 2.1
import QtQuick.Layouts 1.1
import org.kde.plasma.plasmoid 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.extras 2.0 as PlasmaExtras
Item {
id: root
......@@ -76,6 +78,19 @@ Item {
}
}
Plasmoid.fullRepresentation: ColumnLayout {
PlasmaExtras.Heading {
Layout.fillWidth: true
level: 3
wrapMode: Text.WordWrap
text: root.Plasmoid.toolTipSubText
}
Item {
Layout.fillHeight: true
width: 5
}
}
Plasmoid.status: lockedCount>0 ? PlasmaCore.Types.ActiveStatus : PlasmaCore.Types.PassiveStatus
Plasmoid.toolTipSubText: {
var ret = "";
......
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