Index: sources/gui/qml/compounds/NumPad.qml =================================================================== diff -u -r477c26a4e1dcbdf7ad0f29ae7a1df4738d4dcce2 -rb07595ece768d4093d78ca1ef068a993ff4f70a3 --- sources/gui/qml/compounds/NumPad.qml (.../NumPad.qml) (revision 477c26a4e1dcbdf7ad0f29ae7a1df4738d4dcce2) +++ sources/gui/qml/compounds/NumPad.qml (.../NumPad.qml) (revision b07595ece768d4093d78ca1ef068a993ff4f70a3) @@ -77,21 +77,14 @@ } } - function hide() { + function hide( hideOnly = false ) { if ( isOpened ) { x = x - _root.width isOpened = false } - else if ( _root.visible ) { _root.visible = false } + else if ( _root.visible && ! hideOnly ) { _root.visible = false } } - function slideClose () { - if ( isOpened ) { - x = x - _root.width - isOpened = false - } - } - function reset() { _numPadGrid.replaceValueText = true _root.getter = null @@ -130,7 +123,7 @@ Text { id: _title anchors { top : _root.top - topMargin : 10 + topMargin : Variables.defaultMargin horizontalCenter: _root.horizontalCenter } font { @@ -143,7 +136,7 @@ Text { id: _range anchors { top : _title.bottom - topMargin : 10 + topMargin : Variables.defaultMargin horizontalCenter: parent.horizontalCenter } font { @@ -155,8 +148,8 @@ Rectangle { id: _numRect anchors { - top : _root.top - topMargin : Variables.defaultMargin * 4.5 + top : _range.bottom + topMargin : Variables.defaultMargin horizontalCenter: _root.horizontalCenter } width : 300