Index: sources/gui/qml/pages/treatment/adjustments/TreatmentAdjustmentBase.qml =================================================================== diff -u -r8f53c579291988cf29fce189d95f77a0bb7679f0 -raa03f07a386a12895435facfff9f4bff9f7a45f0 --- sources/gui/qml/pages/treatment/adjustments/TreatmentAdjustmentBase.qml (.../TreatmentAdjustmentBase.qml) (revision 8f53c579291988cf29fce189d95f77a0bb7679f0) +++ sources/gui/qml/pages/treatment/adjustments/TreatmentAdjustmentBase.qml (.../TreatmentAdjustmentBase.qml) (revision aa03f07a386a12895435facfff9f4bff9f7a45f0) @@ -40,9 +40,9 @@ signal confirmClicked() signal backClicked() - width: Variables.adjustmentDialogWidth - height: Variables.adjustmentDialogHeight - y: Math.round((Variables.applicationHeight - height) / 2) - Variables.headerHeight + width : Variables.adjustmentDialogWidth + height : Variables.adjustmentDialogHeight + y : Math.round((Variables.applicationHeight - height) / 2) - Variables.headerHeight onVisibleChanged: { notificationText = "" @@ -53,19 +53,19 @@ // TODO: remove ConfirmButton later once it is moved out into screens that inherit this ConfirmButton { id : _confirmButton anchors { - right: parent.right - verticalCenter: _backButton.verticalCenter - margins: Variables.adjustmentButtonMargin + right : parent.right + verticalCenter : _backButton.verticalCenter + margins : Variables.adjustmentButtonMargin } visible: _root.confirmVisible onClicked : confirmClicked() } BackButton { id : _backButton anchors { - top: parent.top - left: parent.left - margins: Variables.adjustmentButtonMargin + top : parent.top + left : parent.left + margins : Variables.adjustmentButtonMargin } visible: _root.backVisible onClicked : backClicked() @@ -74,24 +74,24 @@ TitleText { id : _titleText text: titleText font { - pixelSize: Fonts.fontPixelTitle - weight: Font.Medium + pixelSize : Fonts.fontPixelTitle + weight : Font.Medium } - color: Colors.textMain - width: contentWidth - height: contentHeight + color : Colors.textMain + width : contentWidth + height : contentHeight anchors { - bottom: parent.bottom - horizontalCenter: parent.horizontalCenter - margins: Variables.defaultMargin + bottom : parent.bottom + horizontalCenter : parent.horizontalCenter + margins : Variables.defaultMargin } } CloseButton { id : _closeButton anchors { - right: parent.right - verticalCenter: _backButton.verticalCenter - margins: Variables.adjustmentButtonMargin + right : parent.right + verticalCenter : _backButton.verticalCenter + margins : Variables.adjustmentButtonMargin } visible: _root.closeVisible onClicked : {