mirror of
https://github.com/edubart/otclient.git
synced 2025-10-18 13:33:27 +02:00
new layout system, new UI state/styles system
This commit is contained in:
26
modules/core_ui/styles/windows.otui
Normal file
26
modules/core_ui/styles/windows.otui
Normal file
@@ -0,0 +1,26 @@
|
||||
Window < UIWindow
|
||||
font: helvetica-12px-bold
|
||||
size: 200 200
|
||||
opacity: 255
|
||||
background-color: #ffffff
|
||||
head:
|
||||
height: 20
|
||||
border-image:
|
||||
source: /core_ui/images/window.png
|
||||
size: 256 19
|
||||
border: 4
|
||||
border.bottom: 3
|
||||
|
||||
body:
|
||||
border-image:
|
||||
source: /core_ui/images/window.png
|
||||
size: 256 237
|
||||
offset: 0 19
|
||||
border: 4
|
||||
border.top: 0
|
||||
|
||||
state.pressed:
|
||||
opacity: 192
|
||||
|
||||
MainWindow < Window
|
||||
anchors.centerIn: parent
|
Reference in New Issue
Block a user