Index: sources/gui/qml/dialogs/EndTreatmentDialog.qml =================================================================== diff -u -r56b0b13aa9f9e7ae201bce1843015fe5b4b43d2c -r7b71ec23c53c04a24e3db8ace0ca4825ec57d721 --- sources/gui/qml/dialogs/EndTreatmentDialog.qml (.../EndTreatmentDialog.qml) (revision 56b0b13aa9f9e7ae201bce1843015fe5b4b43d2c) +++ sources/gui/qml/dialogs/EndTreatmentDialog.qml (.../EndTreatmentDialog.qml) (revision 7b71ec23c53c04a24e3db8ace0ca4825ec57d721) @@ -7,9 +7,8 @@ confirmText : qsTr("End Treatment") cancelText : qsTr("Stay On Treatment") - y : Math.round((Variables.applicationHeight - height) / 2) - Variables.headerHeight - width : 600 - height : 600 + width : Variables.completeDialogWidth + height : Variables.completeDialogHeight backgroundColor : Colors.darkDialogColor messageTextVerticalOffset : Variables.defaultMargin * -1 footerBottomMargin : Variables.defaultMargin * 3 @@ -27,6 +26,17 @@ source : "qrc:/images/iCompleteCheck" } + Text { id: _description + anchors { + top : _iconImage.bottom + topMargin : Variables.defaultMargin * 5 + horizontalCenter: parent.horizontalCenter + } + color : Colors.textMain + font.pixelSize : Fonts.fontPixelNotification + text : qsTr("Stay on treatment if blood sample is required.") + } + Connections { target : vTreatmentAdjustmentEnd function onAdjustmentTriggered ( vValue ) { if ( ! vTreatmentAdjustmentEnd.adjustment_Accepted ) {