fix: 收紧竖向布局字符间距

This commit is contained in:
2026-07-19 13:16:49 +08:00
parent b80769c26e
commit 02ac3faf85
+4 -2
View File
@@ -197,7 +197,7 @@ AppletItem {
// 下载列:箭头在上,数值字符从上往下竖排 // 下载列:箭头在上,数值字符从上往下竖排
Column { Column {
spacing: 1 spacing: 0
Layout.alignment: Qt.AlignHCenter Layout.alignment: Qt.AlignHCenter
Text { Text {
@@ -214,6 +214,7 @@ AppletItem {
Text { Text {
text: modelData text: modelData
font.pixelSize: root.dockSize * 0.22 font.pixelSize: root.dockSize * 0.22
height: font.pixelSize
font.weight: Font.Medium font.weight: Font.Medium
color: root.downloadValueColor color: root.downloadValueColor
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
@@ -223,7 +224,7 @@ AppletItem {
// 上传列:结构与下载列对称,颜色用 uploadValueColor // 上传列:结构与下载列对称,颜色用 uploadValueColor
Column { Column {
spacing: 1 spacing: 0
Layout.alignment: Qt.AlignHCenter Layout.alignment: Qt.AlignHCenter
Text { Text {
@@ -238,6 +239,7 @@ AppletItem {
Text { Text {
text: modelData text: modelData
font.pixelSize: root.dockSize * 0.22 font.pixelSize: root.dockSize * 0.22
height: font.pixelSize
font.weight: Font.Medium font.weight: Font.Medium
color: root.uploadValueColor color: root.uploadValueColor
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter