fix: 收紧竖向布局字符间距
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user