From 27f694c4bdc06f58b8227faeb3a9e44316bdb87a Mon Sep 17 00:00:00 2001 From: jwinterm Date: Sat, 29 Aug 2026 13:43:05 -0400 Subject: [PATCH] =?UTF-8?q?mining=20tab:=20fix=20top=20text=20layout=20?= =?UTF-8?q?=E2=80=94=20anchor=20conflict=20on=20sync=20value,=20oversized?= =?UTF-8?q?=20fonts,=20bezel=20overflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Sync Progress value had both left and horizontalCenter anchors (drifted center) - 20pt labels in 30px rows collided; now 14pt matching the top-left monitors - hashrate/uptime/height values auto-fit their pixel-art frames (HorizontalFit) - 'uptime' -> 'Uptime' --- src/assets/qml/mining.qml | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/src/assets/qml/mining.qml b/src/assets/qml/mining.qml index e4d36857..dfd332a6 100644 --- a/src/assets/qml/mining.qml +++ b/src/assets/qml/mining.qml @@ -134,10 +134,12 @@ Rectangle { Text { id: hashRateText text: "-" - anchors.verticalCenter: parent.verticalCenter - anchors.left: parent.left + anchors.fill: parent anchors.leftMargin: 4 - font.pointSize: 16 + verticalAlignment: Text.AlignVCenter + fontSizeMode: Text.HorizontalFit + minimumPointSize: 8 + font.pointSize: 14 font.family: comicMono.name; antialiasing: false color: "#41FF00" @@ -160,7 +162,7 @@ Rectangle { Layout.fillHeight: true Text { - text: "uptime" + text: "Uptime" anchors.verticalCenter: parent.verticalCenter anchors.left: parent.left anchors.leftMargin: 4 @@ -179,10 +181,12 @@ Rectangle { Text { id: miningUptime text: "-" - anchors.verticalCenter: parent.verticalCenter - anchors.left: parent.left + anchors.fill: parent anchors.leftMargin: 4 - font.pointSize: 12 + verticalAlignment: Text.AlignVCenter + fontSizeMode: Text.HorizontalFit + minimumPointSize: 8 + font.pointSize: 14 font.family: comicMono.name; antialiasing: false color: "#41FF00" @@ -270,7 +274,7 @@ Rectangle { anchors.verticalCenter: parent.verticalCenter anchors.left: parent.left anchors.leftMargin: 8 - font.pointSize: 20 + font.pointSize: 14 font.family: comicMonoBold.name; color: "#41FF00" antialiasing: false @@ -285,10 +289,12 @@ Rectangle { Text { id: heightText text: "-" - anchors.verticalCenter: parent.verticalCenter - anchors.left: parent.left + anchors.fill: parent anchors.leftMargin: 8 - font.pointSize: 18 + verticalAlignment: Text.AlignVCenter + fontSizeMode: Text.HorizontalFit + minimumPointSize: 9 + font.pointSize: 14 font.family: comicMonoBold.name; color: "#41FF00" antialiasing: false @@ -311,7 +317,7 @@ Rectangle { anchors.verticalCenter: parent.verticalCenter anchors.left: parent.left anchors.leftMargin: 8 - font.pointSize: 20 + font.pointSize: 14 font.family: comicMonoBold.name; color: "#41FF00" antialiasing: false @@ -327,9 +333,9 @@ Rectangle { id: syncPctText text: "-" anchors.verticalCenter: parent.verticalCenter - anchors.horizontalCenter: parent.horizontalCenter - - font.pointSize: 18 + anchors.left: parent.left + anchors.leftMargin: 8 + font.pointSize: 14 font.family: comicMonoBold.name; color: "#41FF00" antialiasing: false