This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2022-11-18 23:22:34 +01:00

36 lines
852 B
QML

import QtQuick 2.9
import QtQuick.Layouts 1.2
import QtQuick.Controls 2.2
import Nymea 1.0
BigTile {
id: root
property alias iconSource: icon.name
property alias text: textLabel.text
property alias subText: subTextLabel.text
contentItem: RowLayout {
spacing: Style.margins
ColorIcon {
id: icon
size: Style.iconSize
color: Style.accentColor
}
ColumnLayout {
Label {
id: textLabel
Layout.fillWidth: true
elide: Text.ElideRight
}
Label {
id: subTextLabel
Layout.fillWidth: true
font: Style.extraSmallFont
elide: Text.ElideRight
color: Style.unobtrusiveForegroundColor
}
}
}
}