mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2024-11-16 06:25:18 +00:00
28 lines
637 B
QML
28 lines
637 B
QML
|
import QtQuick 2.0
|
||
|
import Sailfish.Silica 1.0
|
||
|
|
||
|
BackgroundItem {
|
||
|
property alias text: label.text
|
||
|
property alias iconSource: icon.source
|
||
|
HighlightImage {
|
||
|
id: icon
|
||
|
anchors {
|
||
|
top: parent.top
|
||
|
topMargin: Theme.paddingMedium
|
||
|
left: parent.left
|
||
|
leftMargin: Theme.horizontalPageMargin
|
||
|
bottom: parent.bottom
|
||
|
bottomMargin: Theme.paddingMedium
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Label {
|
||
|
id: label
|
||
|
anchors {
|
||
|
left: icon.right
|
||
|
leftMargin: Theme.paddingMedium
|
||
|
verticalCenter: parent.verticalCenter
|
||
|
}
|
||
|
}
|
||
|
}
|