mirror of
https://github.com/edubart/otclient.git
synced 2025-10-18 21:43:26 +02:00
new layout system, new UI state/styles system
This commit is contained in:
19
modules/core_ui/styles/buttons.otui
Normal file
19
modules/core_ui/styles/buttons.otui
Normal file
@@ -0,0 +1,19 @@
|
||||
Button < UIButton
|
||||
font: helvetica-11px-bold
|
||||
color: #f0ad4dff
|
||||
size: 106 24
|
||||
border-image:
|
||||
source: /core_ui/images/button.png
|
||||
border: 5
|
||||
|
||||
state.hover:
|
||||
border-image:
|
||||
source: /core_ui/images/button_hover.png
|
||||
border: 5
|
||||
|
||||
state.pressed:
|
||||
text-translate: 1 1
|
||||
border-image:
|
||||
source: /core_ui/images/button_down.png
|
||||
border: 5
|
||||
|
Reference in New Issue
Block a user