Nicer weather card
This commit is contained in:
parent
091d7bf5a3
commit
0202965f65
1 changed files with 21 additions and 19 deletions
|
|
@ -33,19 +33,14 @@ NBox {
|
|||
}
|
||||
|
||||
ColumnLayout {
|
||||
RowLayout {
|
||||
|
||||
NText {
|
||||
text: Settings.data.location.name
|
||||
font.weight: Style.fontWeightBold
|
||||
font.pointSize: Style.fontSizeXL * scaling
|
||||
}
|
||||
NText {
|
||||
text: weatherReady ? `(${Location.data.weather.timezone_abbreviation})` : ""
|
||||
font.pointSize: Style.fontSizeSmall * scaling
|
||||
visible: Location.data.weather
|
||||
}
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
NText {
|
||||
visible: weatherReady
|
||||
text: {
|
||||
|
|
@ -62,6 +57,13 @@ NBox {
|
|||
font.pointSize: Style.fontSizeXL * scaling
|
||||
font.weight: Style.fontWeightBold
|
||||
}
|
||||
|
||||
NText {
|
||||
text: weatherReady ? `(${Location.data.weather.timezone_abbreviation})` : ""
|
||||
font.pointSize: Style.fontSizeSmall * scaling
|
||||
visible: Location.data.weather
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue