Index: sources/gui/qml/dialogs/ConfirmDialog.qml =================================================================== diff -u -r6e18f1d24b8cc3d84d26f46f36f73deb34e54371 -rec9c06478bddf4cadf546aa4a49bb18b224f3b50 --- sources/gui/qml/dialogs/ConfirmDialog.qml (.../ConfirmDialog.qml) (revision 6e18f1d24b8cc3d84d26f46f36f73deb34e54371) +++ sources/gui/qml/dialogs/ConfirmDialog.qml (.../ConfirmDialog.qml) (revision ec9c06478bddf4cadf546aa4a49bb18b224f3b50) @@ -34,6 +34,8 @@ property alias cancelText : _cancelTouch.textString property alias cancelVisible : _cancelTouch.visible property bool autoClose : true + property int messageTextVerticalOffset : Variables.defaultMargin * -3 // adjust text up to add more space for bottom buttons + property int footerBottomMargin : Variables.notificationHeight + Variables.minVGap height : Variables.smallDialogHeight width : Variables.smallDialogWidth @@ -53,7 +55,7 @@ TitleText { id: _messageText anchors.centerIn : parent - anchors.verticalCenterOffset: Variables.defaultMargin * -3 // adjust text up to add more space from bottom buttons + anchors.verticalCenterOffset: _root.messageTextVerticalOffset// adjust text up to add more space from bottom buttons width : parent.width height : Variables.mainMenuHeight * 4 // title + reason + 2*Gap clip : true @@ -62,12 +64,16 @@ Footer { id: _footer anchors.horizontalCenter : parent.horizontalCenter + anchors.bottomMargin : _root.footerBottomMargin childrenWidth: Variables.defaultButtonWidth children: [ TouchRect { id : _cancelTouch textString : qsTr("Cancel") height : Variables.defaultButtonHeight + text.font.pixelSize : Fonts.fontPixelConfirm + text.font.weight : Font.Medium + onPressed : { rejected() if ( autoClose ) close()