Spinbox changes

This commit is contained in:
Henrique Santiago
2012-08-27 18:56:05 -03:00
parent 5a367cfe27
commit 0c5479b031
8 changed files with 47 additions and 7 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 696 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 B

View File

@@ -4,8 +4,38 @@ SpinBox < UISpinBox
size: 86 20
text-offset: 0 3
text-margin: 3
image-source: /images/panel_flat.png
image-source: /images/textedit.png
image-border: 1
$disabled:
color: #aaaaaa88
Button
id: up
size: 10 10
image-source: /images/spinbox_up.png
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
image-source: /images/spinbox_down.png
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

View File

@@ -4,7 +4,7 @@ TextEdit < UITextEdit
size: 86 20
text-offset: 0 3
text-margin: 3
image-source: /images/panel_flat.png
image-source: /images/textedit.png
image-border: 1
$disabled: