Index: sources/gui/qml/dialogs/watersample/WaterSampleBase.qml =================================================================== diff -u -ra563e719d85e3274b0cd0fa831ef8257032e49bc -re34703a10dcb558f13948e7d0ac4994f07270239 --- sources/gui/qml/dialogs/watersample/WaterSampleBase.qml (.../WaterSampleBase.qml) (revision a563e719d85e3274b0cd0fa831ef8257032e49bc) +++ sources/gui/qml/dialogs/watersample/WaterSampleBase.qml (.../WaterSampleBase.qml) (revision e34703a10dcb558f13948e7d0ac4994f07270239) @@ -12,11 +12,12 @@ property Item contentItem : null property alias contentArea : _contentArea property int spacing : Variables.defaultMargin * 2 + property int topMargin : Variables.defaultMargin ContentArea { id : _contentArea anchors { top : _root.top - topMargin : Variables.mainMenuHeight + Variables.defaultMargin + topMargin : Variables.mainMenuHeight + _root.topMargin left : _root.left leftMargin : _root.spacing * 2 right : _root.right Index: sources/gui/qml/dialogs/watersample/WaterSampleDialog.qml =================================================================== diff -u -ref583f0056a0fb8c66a64e132be159719b2bc2f6 -re34703a10dcb558f13948e7d0ac4994f07270239 --- sources/gui/qml/dialogs/watersample/WaterSampleDialog.qml (.../WaterSampleDialog.qml) (revision ef583f0056a0fb8c66a64e132be159719b2bc2f6) +++ sources/gui/qml/dialogs/watersample/WaterSampleDialog.qml (.../WaterSampleDialog.qml) (revision e34703a10dcb558f13948e7d0ac4994f07270239) @@ -22,7 +22,6 @@ import "qrc:/components" ModalDialog { id: _root - width : Variables.dialogWidth height : Variables.dialogHeight clip : true @@ -40,11 +39,8 @@ top : parent.top left : parent.left leftMargin : Variables.defaultMargin * 4 - right : parent.right - rightMargin : Variables.defaultMargin * 4 } - - width : _root.width + width : _root.width / 2.5 color : Colors.transparent titlePixelSize : 30 model : _model @@ -53,16 +49,16 @@ ListElement { text: qsTr("Water Sample") ; visible: true } ListElement { text: qsTr("Dialysate Checks") ; visible: true } } - - Line { - anchors { - bottom : parent.bottom - right : parent.right - left : parent.left - } - - color : Colors.panelBorderColor + } + Line { + anchors { + bottom : _menu.bottom + left : _menu.left + right : parent.right + rightMargin : Variables.defaultMargin * 4 } + + color : Colors.panelBorderColor } CloseButton { id : _closeButton Index: sources/gui/qml/dialogs/watersample/WaterSampleDialysatePage.qml =================================================================== diff -u -ra563e719d85e3274b0cd0fa831ef8257032e49bc -re34703a10dcb558f13948e7d0ac4994f07270239 --- sources/gui/qml/dialogs/watersample/WaterSampleDialysatePage.qml (.../WaterSampleDialysatePage.qml) (revision a563e719d85e3274b0cd0fa831ef8257032e49bc) +++ sources/gui/qml/dialogs/watersample/WaterSampleDialysatePage.qml (.../WaterSampleDialysatePage.qml) (revision e34703a10dcb558f13948e7d0ac4994f07270239) @@ -8,6 +8,7 @@ WaterSampleBase { id: _root anchors.fill: parent + topMargin : Variables.defaultMargin * 2 contentItem : Item { id: _content readonly property int cellWidth : width / 2 - ( _row.spacing / 2 ) // 2 items for the row and subtract spacing for widths @@ -25,7 +26,7 @@ Row { id: _row anchors.top : _description.bottom - anchors.topMargin : Variables.defaultMargin * 2 + anchors.topMargin : Variables.defaultMargin * 4 spacing : Variables.defaultMargin * 2 Column { id: _leftColumn