Plasmoid templates: use the image which is part of the package (again)
This commit is contained in:
parent
4d5793c28a
commit
801724eb01
@ -26,10 +26,14 @@ import org.kde.plasma.components 2.0 as PlasmaComponents
|
|||||||
Item {
|
Item {
|
||||||
Plasmoid.fullRepresentation: ColumnLayout {
|
Plasmoid.fullRepresentation: ColumnLayout {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
PlasmaCore.IconItem {
|
Image {
|
||||||
source: "kde"
|
Layout.fillHeight: true
|
||||||
|
Layout.fillWidth: true
|
||||||
|
fillMode: Image.PreserveAspectFit
|
||||||
|
source: "../images/pairs.svgz"
|
||||||
}
|
}
|
||||||
PlasmaComponents.Label {
|
PlasmaComponents.Label {
|
||||||
|
Layout.alignment: Qt.AlignCenter
|
||||||
text: plasmoid.nativeInterface.nativeText
|
text: plasmoid.nativeInterface.nativeText
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -26,10 +26,14 @@ import org.kde.plasma.components 2.0 as PlasmaComponents
|
|||||||
Item {
|
Item {
|
||||||
Plasmoid.fullRepresentation: ColumnLayout {
|
Plasmoid.fullRepresentation: ColumnLayout {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
PlasmaCore.IconItem {
|
Image {
|
||||||
source: "kde"
|
Layout.fillHeight: true
|
||||||
|
Layout.fillWidth: true
|
||||||
|
fillMode: Image.PreserveAspectFit
|
||||||
|
source: "../images/pairs.svgz"
|
||||||
}
|
}
|
||||||
PlasmaComponents.Label {
|
PlasmaComponents.Label {
|
||||||
|
Layout.alignment: Qt.AlignCenter
|
||||||
text: "This is Plasma!"
|
text: "This is Plasma!"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user