mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 04:53:27 +02:00
make styles closer to CSS syntax
This commit is contained in:
@@ -54,7 +54,7 @@ TopButton < UIButton
|
||||
MenuButton < UIButton
|
||||
color: white
|
||||
size: 40 18
|
||||
align: center
|
||||
text-align: center
|
||||
border-image:
|
||||
source: /core_styles/images/menu.png
|
||||
size: 64 24
|
||||
|
@@ -2,7 +2,7 @@ LineEdit < UILineEdit
|
||||
font: verdana-11px-antialised
|
||||
color: #aaaaaa
|
||||
size: 86 20
|
||||
text margin: 3
|
||||
text-margin: 3
|
||||
border-image:
|
||||
source: /core_styles/images/panel_flat.png
|
||||
border: 1
|
||||
@@ -11,4 +11,4 @@ LineEdit < UILineEdit
|
||||
color: #aaaaaa88
|
||||
|
||||
PasswordLineEdit < LineEdit
|
||||
text hidden: true
|
||||
text-hidden: true
|
||||
|
@@ -4,9 +4,9 @@ Window < UIWindow
|
||||
opacity: 255
|
||||
color: white
|
||||
background-color: white
|
||||
head height: 20
|
||||
head text align: center
|
||||
move policy: free
|
||||
head-height: 20
|
||||
head-text-align: center
|
||||
move-policy: free
|
||||
stackable: true
|
||||
border-image:
|
||||
source: /core_styles/images/window.png
|
||||
@@ -22,12 +22,12 @@ Window < UIWindow
|
||||
MiniWindow < UIWindow
|
||||
font: verdana-11px-antialised
|
||||
size: 192 200
|
||||
head height: 25
|
||||
head text align: center
|
||||
margin.top: 10
|
||||
margin.left: 6
|
||||
margin.right: 6
|
||||
move policy: free updated
|
||||
head-height: 25
|
||||
head-text-align: center
|
||||
margin-top: 10
|
||||
margin-left: 6
|
||||
margin-right: 6
|
||||
move-policy: free updated
|
||||
border-image:
|
||||
source: /core_styles/images/mini_window.png
|
||||
border: 4
|
||||
|
Reference in New Issue
Block a user