v1.5.1: double-size trend arrow, equal spacing around the euro sign on flip and nixie displays

This commit is contained in:
ArnoldCordewiner
2026-09-05 21:24:03 +02:00
parent 33dd983463
commit b11fe06276
4 changed files with 15 additions and 3 deletions
+7 -1
View File
@@ -203,6 +203,12 @@ Row {
font.pixelSize: root.height * 0.85
}
// same breathing room between the euro sign and the arrow
Item {
width: root.height * 0.22
height: 1
}
// trend arrow: green up / red down; unchanged keeps the last arrow
Text {
anchors.verticalCenter: parent.verticalCenter
@@ -210,6 +216,6 @@ Row {
visible: root.digitsOnly.length > 0 && root.lastDir !== 0
color: root.lastDir > 0 ? "#2ecc71" : "#e74c3c"
font.family: Qt.application.font.family
font.pixelSize: root.height * 0.5
font.pixelSize: root.height * 1.0
}
}
+7 -1
View File
@@ -164,6 +164,12 @@ Row {
font.pixelSize: root.height * 0.85
}
// same breathing room between the euro sign and the arrow
Item {
width: root.height * 0.22
height: 1
}
// trend arrow: green up / red down; unchanged keeps the last arrow
Text {
anchors.verticalCenter: parent.verticalCenter
@@ -171,7 +177,7 @@ Row {
visible: root.digits.length > 0 && root.lastDir !== 0
color: root.lastDir > 0 ? "#2ecc71" : "#e74c3c"
font.family: Qt.application.font.family
font.pixelSize: root.height * 0.45
font.pixelSize: root.height * 0.9
}
// error / empty state