diff --git a/ui/qmls/AppMain.qml b/ui/qmls/AppMain.qml index bad04b3..b836e54 100644 --- a/ui/qmls/AppMain.qml +++ b/ui/qmls/AppMain.qml @@ -1,4 +1,5 @@ import QtQuick +import QtQuick.Controls import QtQuick.Layouts RowLayout { @@ -42,7 +43,7 @@ RowLayout { } } - Text { + Label { anchors.margins: 5 anchors.fill: parent diff --git a/ui/qmls/Overview.qml b/ui/qmls/Overview.qml index b136cb1..12ae854 100644 --- a/ui/qmls/Overview.qml +++ b/ui/qmls/Overview.qml @@ -24,12 +24,12 @@ Page { // implicitHeight: valueText.implicitHeight - Text { + Label { text: parent.label Layout.alignment: Qt.AlignBaseline } - Text { + Label { id: valueText text: parent.value