Index: sources/gui/qml/pages/settings/SettingsROInput.qml =================================================================== diff -u -r01a8c935f7d90ce3b168970765c0f20ea0c1a273 -r33f808e5b8d9134231fc0d016bfb16605c2de812 --- sources/gui/qml/pages/settings/SettingsROInput.qml (.../SettingsROInput.qml) (revision 01a8c935f7d90ce3b168970765c0f20ea0c1a273) +++ sources/gui/qml/pages/settings/SettingsROInput.qml (.../SettingsROInput.qml) (revision 33f808e5b8d9134231fc0d016bfb16605c2de812) @@ -19,6 +19,7 @@ // Qml imports import "qrc:/globals" import "qrc:/components" +import "qrc:/compounds" /*! * \brief SettingsROInput is the screen @@ -29,26 +30,23 @@ confirmVisible : false - contentItem: Item { id: _settingsRoInputItem + contentItem: Item { - Text { id : _settingsRoInputLabel - text : qsTr("Pure Water Mode") - width : 300 - height : _settingsRoInputSwitch.height - color : Colors.white - font.pixelSize : Fonts.fontPixelButton - verticalAlignment : Text.AlignVCenter - horizontalAlignment : Text.AlignLeft - anchors.horizontalCenter: parent.horizontalCenter - } + LabelUnitContainer { id: _settingsRoInputItem + anchors.horizontalCenter : parent.horizontalCenter + width : Variables.adjustmentLabelUnitContainerWidth + height : Variables.adjustmentLabelUnitContainerHeight + showUnit : false + text : qsTr("Pure Water Mode") + contentArea.anchors.leftMargin : width * 0.75 - BaseSwitch { id: _settingsRoInputSwitch - checked : vDuetRoWaterDG.status + contentItem: BaseSwitch { id: _settingsRoInputSwitch + checked : vDuetRoWaterDG.status - onClicked: { - vDuetRoWaterDG.doAdjustment ( _settingsRoInputSwitch.checked ) + onClicked: { + vDuetRoWaterDG.doAdjustment ( _settingsRoInputSwitch.checked ) + } } - } }