Index: sources/gui/qml/compounds/NumPad.qml =================================================================== diff -u -r596aa427447d3757005ae759c64c52ebb26b9503 -r41a604f3fe3a5bb40bddd8c06e5fe88df85e3997 --- sources/gui/qml/compounds/NumPad.qml (.../NumPad.qml) (revision 596aa427447d3757005ae759c64c52ebb26b9503) +++ sources/gui/qml/compounds/NumPad.qml (.../NumPad.qml) (revision 41a604f3fe3a5bb40bddd8c06e5fe88df85e3997) @@ -43,7 +43,7 @@ color : Colors.backgroundMain x : Math.round((Variables.applicationWidth - _root.width) / 2) y : Math.round((Variables.applicationHeight - _root.height) / 2) - + z : isOpened ? 0 : -1 onVisibleChanged : if ( ! _root.visible ) { reset() } onDisplayValueChanged : if ( _root.setter ) { _root.setter( _valueLabel.text ) } onSettingValueChanged : _valueLabel.text = _root.settingValue !== undefined ? _root.settingValue : "" @@ -95,8 +95,11 @@ TouchRect { id : _sliderButton anchors { verticalCenter : parent.verticalCenter - left : parent.right - leftMargin : height / 2 * -1 + horizontalCenter: _root.isOpened ? parent.left : parent.right + horizontalCenterOffset : _root.isOpened ? 10 * -1 : 0 + +// leftMargin : height / 2 * -1 +// right : _root.isOpened } z : -1 height : 80 @@ -108,12 +111,12 @@ Image { id : _iconImage anchors { - verticalCenter : parent.verticalCenter - right : parent.right - rightMargin : 10 + verticalCenter : parent.verticalCenter + horizontalCenter : parent.horizontalCenter + horizontalCenterOffset : _root.isOpened ? 15 * -1 : 15 } - height : 30 - width : 30 + height : 35 + width : 35 fillMode: Image.PreserveAspectFit source : isOpened ? "qrc:/images/iChevronLeft" : "qrc:/images/iChevronRight"