mirror of
https://github.com/283375/arcaea-offline-pyside-ui.git
synced 2025-11-07 13:02:17 +00:00
wip: replace Text with Label
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user