Index: sources/gui/qml/components/ModalDialog.qml =================================================================== diff -u -rc1d0546e2d1a51ff919b2172ce647003359f0853 -r31b1e7a5d69f014398827e16286f28515cd60e35 --- sources/gui/qml/components/ModalDialog.qml (.../ModalDialog.qml) (revision c1d0546e2d1a51ff919b2172ce647003359f0853) +++ sources/gui/qml/components/ModalDialog.qml (.../ModalDialog.qml) (revision 31b1e7a5d69f014398827e16286f28515cd60e35) @@ -78,6 +78,14 @@ anchors.fill : _backgroundRect } + NumPad { id: _numPad + x : _root.width - _numPad.width + y : 0 + slideToOpen : true + + onCancel : _numPad.hide() + } + Image { id: _backgroundImage anchors.fill: parent source : "qrc:/images/iPopupGradient" @@ -102,15 +110,7 @@ } } - NumPad { id: _numPad - x: Math.round((_root.width - _numPad.width) / 2) - y: Math.round((Variables.applicationHeight -_root.y - _numPad.height - Variables.mainMenuHeight * 2)) - onCancel: { - _numPad.hide() - } - } - NumberAnimation { id: _autoHideAnimation running: false target: _root