Index: sources/gui/qml/components/NumPad.qml =================================================================== diff -u -ree27c59d21daf9ad067d3cb5327fadd7c73b9838 -r21ce57716379c74355e4d268097b1b44bb59170c --- sources/gui/qml/components/NumPad.qml (.../NumPad.qml) (revision ee27c59d21daf9ad067d3cb5327fadd7c73b9838) +++ sources/gui/qml/components/NumPad.qml (.../NumPad.qml) (revision 21ce57716379c74355e4d268097b1b44bb59170c) @@ -110,10 +110,10 @@ anchors { verticalCenter : parent.verticalCenter right : parent.right - rightMargin : 5 + rightMargin : 10 } - height : Variables.headerIconDiameter - width : Variables.headerIconDiameter + height : 30 + width : 30 fillMode: Image.PreserveAspectFit source : isOpened ? "qrc:/images/iChevronLeft" : "qrc:/images/iChevronRight" @@ -133,10 +133,23 @@ color : "white" } + Text { id: _range + anchors { + top : _title.bottom + topMargin : 10 + horizontalCenter: parent.horizontalCenter + } + font { + pixelSize : 20 + weight : Font.Medium + } + color : "#E0CDA9" + } + Rectangle { id: _numRect anchors { top : _root.top - topMargin : Variables.defaultMargin * 4 + topMargin : Variables.defaultMargin * 4.5 horizontalCenter: _root.horizontalCenter } width : 300 @@ -170,22 +183,12 @@ anchors { horizontalCenter: parent.horizontalCenter top : _numRect.bottom - topMargin : 10 + topMargin : 5 } font.pixelSize : 18 color : "white" } - Text { id: _range - anchors { - bottom : _numRect.top - bottomMargin : 15 - horizontalCenter: parent.horizontalCenter - } - font.pixelSize : 20 - color : "#E0CDA9" - } - Grid { id: _numPadGrid anchors { left : _root.left @@ -218,11 +221,7 @@ icon.width : 40 icon.height : 40 enabled : modelData === "." ? precision > 0 : true - - font { - pixelSize : 30 - bold : true - } + font.pixelSize : 30 background: Rectangle { id: _keyBackground color : _keyButton.pressed ? Colors.backgroundButtonSelectDark : modelData === backSpace ? Qt.darker ("#263B57", 1.05) :