diff options
Diffstat (limited to 'apps/com.pelagicore.climate/panels/+lucee/ClimateIndicatorPanel.qml')
-rw-r--r-- | apps/com.pelagicore.climate/panels/+lucee/ClimateIndicatorPanel.qml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/apps/com.pelagicore.climate/panels/+lucee/ClimateIndicatorPanel.qml b/apps/com.pelagicore.climate/panels/+lucee/ClimateIndicatorPanel.qml index 5fae233f..909e844f 100644 --- a/apps/com.pelagicore.climate/panels/+lucee/ClimateIndicatorPanel.qml +++ b/apps/com.pelagicore.climate/panels/+lucee/ClimateIndicatorPanel.qml @@ -36,27 +36,27 @@ import QtQuick.Layouts 1.3 import "../controls" 1.0 import "../helpers" 1.0 +import shared.utils 1.0 import shared.Style 1.0 import shared.Sizes 1.0 -Item { +RowLayout { id: root property var store - width: parent.width + width: Sizes.dp(Config.centerConsoleWidth) height: Sizes.dp(80) + LayoutMirroring.enabled: false TemperatureLabel { - anchors.left: parent.left - anchors.verticalCenter: parent.verticalCenter - anchors.leftMargin: Sizes.dp(44) - seat: root.store ? root.store.leftSeat : null + Layout.alignment: Qt.AlignLeft | Qt.AlignVCenter + Layout.leftMargin: Sizes.dp(44) + seat: root.store ? root.store.leftSeat.localizedValue : null } TemperatureLabel { - anchors.right: parent.right - anchors.verticalCenter: parent.verticalCenter - anchors.rightMargin: Sizes.dp(44) - seat: root.store ? root.store.rightSeat : null + Layout.alignment: Qt.AlignRight | Qt.AlignVCenter + Layout.rightMargin: Sizes.dp(44) + seat: root.store ? root.store.rightSeat.localizedValue : null } } |