wip: replace Text with Label

This commit is contained in:
2025-10-08 16:29:35 +08:00
parent 87304b02f7
commit d90a165df8
2 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,5 @@
import QtQuick import QtQuick
import QtQuick.Controls
import QtQuick.Layouts import QtQuick.Layouts
RowLayout { RowLayout {
@ -42,7 +43,7 @@ RowLayout {
} }
} }
Text { Label {
anchors.margins: 5 anchors.margins: 5
anchors.fill: parent anchors.fill: parent

View File

@ -24,12 +24,12 @@ Page {
// implicitHeight: valueText.implicitHeight // implicitHeight: valueText.implicitHeight
Text { Label {
text: parent.label text: parent.label
Layout.alignment: Qt.AlignBaseline Layout.alignment: Qt.AlignBaseline
} }
Text { Label {
id: valueText id: valueText
text: parent.value text: parent.value