mining tab: tighten Block Height/Sync Progress label+value grouping

The value sat ~30px below its label (label centered in top cell, value
centered in bottom cell), so long values like the block height floated low
in the console. Anchor labels to the bottom of their cell and values to the
top of theirs so each metric reads as a tight pair. Verified via local
qml6 render.
This commit is contained in:
jwinterm
2026-08-30 12:00:44 -04:00
parent 1c81365247
commit 0ed8c005c5
+6 -4
View File
@@ -271,7 +271,7 @@ Rectangle {
Text { Text {
text: "Block Height" text: "Block Height"
anchors.verticalCenter: parent.verticalCenter anchors.bottom: parent.bottom
anchors.left: parent.left anchors.left: parent.left
anchors.leftMargin: 8 anchors.leftMargin: 8
font.pointSize: 14 font.pointSize: 14
@@ -291,7 +291,8 @@ Rectangle {
text: "-" text: "-"
anchors.fill: parent anchors.fill: parent
anchors.leftMargin: 8 anchors.leftMargin: 8
verticalAlignment: Text.AlignVCenter anchors.topMargin: 2
verticalAlignment: Text.AlignTop
fontSizeMode: Text.HorizontalFit fontSizeMode: Text.HorizontalFit
minimumPointSize: 9 minimumPointSize: 9
font.pointSize: 14 font.pointSize: 14
@@ -314,7 +315,7 @@ Rectangle {
Text { Text {
text: "Sync Progress" text: "Sync Progress"
anchors.verticalCenter: parent.verticalCenter anchors.bottom: parent.bottom
anchors.left: parent.left anchors.left: parent.left
anchors.leftMargin: 8 anchors.leftMargin: 8
font.pointSize: 14 font.pointSize: 14
@@ -332,7 +333,8 @@ Rectangle {
Text { Text {
id: syncPctText id: syncPctText
text: "-" text: "-"
anchors.verticalCenter: parent.verticalCenter anchors.top: parent.top
anchors.topMargin: 2
anchors.left: parent.left anchors.left: parent.left
anchors.leftMargin: 8 anchors.leftMargin: 8
font.pointSize: 14 font.pointSize: 14