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 {
|
||||
Plasmoid.fullRepresentation: ColumnLayout {
|
||||
anchors.fill: parent
|
||||
PlasmaCore.IconItem {
|
||||
source: "kde"
|
||||
Image {
|
||||
Layout.fillHeight: true
|
||||
Layout.fillWidth: true
|
||||
fillMode: Image.PreserveAspectFit
|
||||
source: "../images/pairs.svgz"
|
||||
}
|
||||
PlasmaComponents.Label {
|
||||
Layout.alignment: Qt.AlignCenter
|
||||
text: plasmoid.nativeInterface.nativeText
|
||||
}
|
||||
}
|
||||
|
@ -26,10 +26,14 @@ import org.kde.plasma.components 2.0 as PlasmaComponents
|
||||
Item {
|
||||
Plasmoid.fullRepresentation: ColumnLayout {
|
||||
anchors.fill: parent
|
||||
PlasmaCore.IconItem {
|
||||
source: "kde"
|
||||
Image {
|
||||
Layout.fillHeight: true
|
||||
Layout.fillWidth: true
|
||||
fillMode: Image.PreserveAspectFit
|
||||
source: "../images/pairs.svgz"
|
||||
}
|
||||
PlasmaComponents.Label {
|
||||
Layout.alignment: Qt.AlignCenter
|
||||
text: "This is Plasma!"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user