TG-PlatformPlus/qml/debug/calibrate/common/SetLabel.qml

22 lines
416 B
QML
Raw Permalink Normal View History

2026-03-02 14:29:58 +08:00
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
Item {
width: 64
height: 36
property var text: ""
clip: true
Label {
text: parent.text
color: "#262626"
anchors.left: parent.left
font.pixelSize: 14
font.family: customFontLoader.name
anchors.verticalCenter: parent.verticalCenter
verticalAlignment: Text.AlignHCenter
}
}