dashboard: default weather
This commit is contained in:
parent
3433f9fbe9
commit
41004e5d0c
1 changed files with 2 additions and 2 deletions
|
|
@ -40,7 +40,7 @@ Item {
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
|
|
||||||
animate: true
|
animate: true
|
||||||
text: root.icon
|
text: root.icon || "cloud_alert"
|
||||||
color: Colours.palette.m3secondary
|
color: Colours.palette.m3secondary
|
||||||
font.pointSize: root.parent.height / 2 || 1
|
font.pointSize: root.parent.height / 2 || 1
|
||||||
}
|
}
|
||||||
|
|
@ -68,7 +68,7 @@ Item {
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
|
||||||
animate: true
|
animate: true
|
||||||
text: root.description
|
text: root.description || qsTr("No weather")
|
||||||
|
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
width: Math.min(implicitWidth, root.parent.width - icon.implicitWidth - info.anchors.leftMargin - Appearance.padding.large * 2)
|
width: Math.min(implicitWidth, root.parent.width - icon.implicitWidth - info.anchors.leftMargin - Appearance.padding.large * 2)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue