tibia-client/data/styles/20-spinboxes.otui

37 lines
724 B
Plaintext
Raw Normal View History

2012-08-29 08:11:38 +02:00
SpinBox < TextEdit
__class: UISpinBox
2013-02-19 11:19:18 +01:00
text-align: left
2012-01-26 02:11:05 +01:00
size: 86 20
padding: 0
2013-02-19 11:19:18 +01:00
padding-left: 2
2012-08-27 23:56:05 +02:00
Button
id: up
size: 10 10
image-source: /images/ui/spinbox_up
2012-08-27 23:56:05 +02:00
image-border: 1
image-clip: 0 0 10 10
anchors.top: parent.top
anchors.right: parent.right
2013-02-19 11:19:18 +01:00
@onPress: self:getParent():up()
2012-08-27 23:56:05 +02:00
$hover:
image-clip: 0 10 10 10
$pressed:
image-clip: 0 20 10 10
Button
id: down
size: 10 10
image-source: /images/ui/spinbox_down
2012-08-27 23:56:05 +02:00
image-border: 1
image-clip: 0 0 10 10
anchors.bottom: parent.bottom
anchors.right: parent.right
2013-02-19 11:19:18 +01:00
@onPress: self:getParent():down()
2012-08-27 23:56:05 +02:00
$hover:
image-clip: 0 10 10 10
$pressed:
image-clip: 0 20 10 10