mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 20:43:26 +02:00
major UIWidget rewrite with new features
This commit is contained in:
@@ -1,26 +1,23 @@
|
||||
Button < UIButton
|
||||
font: verdana-11px-antialised
|
||||
background-color: white
|
||||
color: #f0ad4dff
|
||||
size: 106 24
|
||||
text-translate: 0 0
|
||||
text-offset: 0 0
|
||||
|
||||
border-image:
|
||||
source: /core_styles/images/button.png
|
||||
border: 5
|
||||
image-color: white
|
||||
image-source: /core_styles/images/button.png
|
||||
image-border: 5
|
||||
|
||||
$hover:
|
||||
border-image:
|
||||
source: /core_styles/images/button_hover.png
|
||||
border: 5
|
||||
image-source: /core_styles/images/button_hover.png
|
||||
image-border: 5
|
||||
|
||||
$pressed:
|
||||
text-translate: 1 1
|
||||
border-image:
|
||||
source: /core_styles/images/button_down.png
|
||||
border: 5
|
||||
text-offset: 1 1
|
||||
image-source: /core_styles/images/button_down.png
|
||||
image-border: 5
|
||||
|
||||
$disabled:
|
||||
color: #f0ad4d88
|
||||
background-color: #ffffff88
|
||||
image-color: #ffffff88
|
||||
|
||||
|
Reference in New Issue
Block a user