Few market UI fixes
This commit is contained in:
parent
59a5b8115a
commit
e87e669c87
|
@ -1,7 +1,9 @@
|
||||||
SpinBox < TextEdit
|
SpinBox < TextEdit
|
||||||
__class: UISpinBox
|
__class: UISpinBox
|
||||||
|
text-align: left
|
||||||
size: 86 20
|
size: 86 20
|
||||||
padding: 0
|
padding: 0
|
||||||
|
padding-left: 2
|
||||||
|
|
||||||
Button
|
Button
|
||||||
id: up
|
id: up
|
||||||
|
@ -11,7 +13,7 @@ SpinBox < TextEdit
|
||||||
image-clip: 0 0 10 10
|
image-clip: 0 0 10 10
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
@onClick: self:getParent():up()
|
@onPress: self:getParent():up()
|
||||||
|
|
||||||
$hover:
|
$hover:
|
||||||
image-clip: 0 10 10 10
|
image-clip: 0 10 10 10
|
||||||
|
@ -26,7 +28,7 @@ SpinBox < TextEdit
|
||||||
image-clip: 0 0 10 10
|
image-clip: 0 0 10 10
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
@onClick: self:getParent():down()
|
@onPress: self:getParent():down()
|
||||||
|
|
||||||
$hover:
|
$hover:
|
||||||
image-clip: 0 10 10 10
|
image-clip: 0 10 10 10
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
AmountWindow < MainWindow
|
AmountWindow < MainWindow
|
||||||
id: amountWindow
|
id: amountWindow
|
||||||
!text: tr('Amount')
|
!text: tr('Amount')
|
||||||
size: 196 80
|
size: 270 80
|
||||||
|
|
||||||
Item
|
Item
|
||||||
id: item
|
id: item
|
||||||
|
|
|
@ -102,6 +102,7 @@ Panel
|
||||||
width: 75
|
width: 75
|
||||||
minimum: 1
|
minimum: 1
|
||||||
maximum: 999999999
|
maximum: 999999999
|
||||||
|
focusable: true
|
||||||
|
|
||||||
$disabled:
|
$disabled:
|
||||||
color: #aaaaaa44
|
color: #aaaaaa44
|
||||||
|
@ -123,6 +124,7 @@ Panel
|
||||||
width: 75
|
width: 75
|
||||||
minimum: 1
|
minimum: 1
|
||||||
maximum: 999999999
|
maximum: 999999999
|
||||||
|
focusable: true
|
||||||
|
|
||||||
$disabled:
|
$disabled:
|
||||||
color: #aaaaaa44
|
color: #aaaaaa44
|
||||||
|
@ -152,6 +154,7 @@ Panel
|
||||||
buttons: false
|
buttons: false
|
||||||
minimum: 1
|
minimum: 1
|
||||||
maximum: 64000
|
maximum: 64000
|
||||||
|
focusable: true
|
||||||
|
|
||||||
NextButton
|
NextButton
|
||||||
id: nextAmountButton
|
id: nextAmountButton
|
||||||
|
|
Loading…
Reference in New Issue