Widen and enlarge weather popup right-side details
Bump location and stat label/value font sizes a couple pixels and add breathing room between the FEELS/WIND/HUMIDITY columns.
This commit is contained in:
@@ -234,7 +234,7 @@ Item {
|
|||||||
id: heroRight
|
id: heroRight
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
spacing: 8
|
spacing: 12
|
||||||
|
|
||||||
Row {
|
Row {
|
||||||
visible: root.reportLocation !== ""
|
visible: root.reportLocation !== ""
|
||||||
@@ -244,14 +244,14 @@ Item {
|
|||||||
text: "" // nf-fa-map_marker
|
text: "" // nf-fa-map_marker
|
||||||
color: Qt.darker(root.bar.foreground, 1.4)
|
color: Qt.darker(root.bar.foreground, 1.4)
|
||||||
font.family: root.bar.fontFamily
|
font.family: root.bar.fontFamily
|
||||||
font.pixelSize: 11
|
font.pixelSize: 12
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
}
|
}
|
||||||
Text {
|
Text {
|
||||||
text: (root.reportLocation || "").toUpperCase()
|
text: (root.reportLocation || "").toUpperCase()
|
||||||
color: Qt.darker(root.bar.foreground, 1.4)
|
color: Qt.darker(root.bar.foreground, 1.4)
|
||||||
font.family: root.bar.fontFamily
|
font.family: root.bar.fontFamily
|
||||||
font.pixelSize: 11
|
font.pixelSize: 12
|
||||||
font.letterSpacing: 1
|
font.letterSpacing: 1
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
}
|
}
|
||||||
@@ -259,56 +259,56 @@ Item {
|
|||||||
|
|
||||||
Row {
|
Row {
|
||||||
visible: !!root.current
|
visible: !!root.current
|
||||||
spacing: 22
|
spacing: 36
|
||||||
|
|
||||||
Column {
|
Column {
|
||||||
spacing: 4
|
spacing: 5
|
||||||
Text {
|
Text {
|
||||||
text: "FEELS"
|
text: "FEELS"
|
||||||
color: Qt.darker(root.bar.foreground, 1.5)
|
color: Qt.darker(root.bar.foreground, 1.5)
|
||||||
font.family: root.bar.fontFamily
|
font.family: root.bar.fontFamily
|
||||||
font.pixelSize: 10
|
font.pixelSize: 11
|
||||||
font.letterSpacing: 1
|
font.letterSpacing: 1
|
||||||
}
|
}
|
||||||
Text {
|
Text {
|
||||||
text: root.reportFeels
|
text: root.reportFeels
|
||||||
color: root.bar.foreground
|
color: root.bar.foreground
|
||||||
font.family: root.bar.fontFamily
|
font.family: root.bar.fontFamily
|
||||||
font.pixelSize: 13
|
font.pixelSize: 15
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Column {
|
Column {
|
||||||
spacing: 4
|
spacing: 5
|
||||||
Text {
|
Text {
|
||||||
text: "WIND"
|
text: "WIND"
|
||||||
color: Qt.darker(root.bar.foreground, 1.5)
|
color: Qt.darker(root.bar.foreground, 1.5)
|
||||||
font.family: root.bar.fontFamily
|
font.family: root.bar.fontFamily
|
||||||
font.pixelSize: 10
|
font.pixelSize: 11
|
||||||
font.letterSpacing: 1
|
font.letterSpacing: 1
|
||||||
}
|
}
|
||||||
Text {
|
Text {
|
||||||
text: root.reportWind
|
text: root.reportWind
|
||||||
color: root.bar.foreground
|
color: root.bar.foreground
|
||||||
font.family: root.bar.fontFamily
|
font.family: root.bar.fontFamily
|
||||||
font.pixelSize: 13
|
font.pixelSize: 15
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Column {
|
Column {
|
||||||
spacing: 4
|
spacing: 5
|
||||||
Text {
|
Text {
|
||||||
text: "HUMIDITY"
|
text: "HUMIDITY"
|
||||||
color: Qt.darker(root.bar.foreground, 1.5)
|
color: Qt.darker(root.bar.foreground, 1.5)
|
||||||
font.family: root.bar.fontFamily
|
font.family: root.bar.fontFamily
|
||||||
font.pixelSize: 10
|
font.pixelSize: 11
|
||||||
font.letterSpacing: 1
|
font.letterSpacing: 1
|
||||||
}
|
}
|
||||||
Text {
|
Text {
|
||||||
text: root.reportHumidity
|
text: root.reportHumidity
|
||||||
color: root.bar.foreground
|
color: root.bar.foreground
|
||||||
font.family: root.bar.fontFamily
|
font.family: root.bar.fontFamily
|
||||||
font.pixelSize: 13
|
font.pixelSize: 15
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user