You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
674 B
34 lines
674 B
12 years ago
|
SpinBox < TextEdit
|
||
|
__class: UISpinBox
|
||
12 years ago
|
size: 86 20
|
||
12 years ago
|
|
||
|
Button
|
||
|
id: up
|
||
|
size: 10 10
|
||
11 years ago
|
image-source: /images/ui/spinbox_up
|
||
12 years ago
|
image-border: 1
|
||
|
image-clip: 0 0 10 10
|
||
|
anchors.top: parent.top
|
||
|
anchors.right: parent.right
|
||
|
@onClick: self:getParent():up()
|
||
|
|
||
|
$hover:
|
||
|
image-clip: 0 10 10 10
|
||
|
$pressed:
|
||
|
image-clip: 0 20 10 10
|
||
|
|
||
|
Button
|
||
|
id: down
|
||
|
size: 10 10
|
||
11 years ago
|
image-source: /images/ui/spinbox_down
|
||
12 years ago
|
image-border: 1
|
||
|
image-clip: 0 0 10 10
|
||
|
anchors.bottom: parent.bottom
|
||
|
anchors.right: parent.right
|
||
|
@onClick: self:getParent():down()
|
||
|
|
||
|
$hover:
|
||
|
image-clip: 0 10 10 10
|
||
|
$pressed:
|
||
|
image-clip: 0 20 10 10
|