mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 04:24:54 +02:00
major UIWidget rewrite with new features
This commit is contained in:
@@ -1,16 +1,13 @@
|
||||
PopupMenuButton < UIButton
|
||||
font: verdana-11px-antialised
|
||||
background-color: alpha
|
||||
image-color: alpha
|
||||
color: #aaaaaa
|
||||
height: 18
|
||||
margin-left: 3
|
||||
margin-right: 3
|
||||
margin-top: 0
|
||||
margin-bottom: 0
|
||||
|
||||
image:
|
||||
source: /core_styles/images/empty_rect.png
|
||||
repeated: true
|
||||
background-color: alpha
|
||||
|
||||
$hover:
|
||||
color: #ffffff
|
||||
@@ -28,16 +25,15 @@ PopupMenuButton < UIButton
|
||||
PopupMenuSeparator < UIWidget
|
||||
margin-left: 2
|
||||
margin-right: 2
|
||||
border-image:
|
||||
source: /core_styles/images/menubox.png
|
||||
border.left: 1
|
||||
border.right: 1
|
||||
clip: 0 0 32 2
|
||||
image-source: /core_styles/images/menubox.png
|
||||
image-border-left: 1
|
||||
image-border-right: 1
|
||||
image-clip: 0 0 32 2
|
||||
height: 2
|
||||
phantom: true
|
||||
|
||||
PopupMenu < UIPopupMenu
|
||||
width: 50
|
||||
border-image:
|
||||
source: /core_styles/images/menubox.png
|
||||
border: 3
|
||||
image-source: /core_styles/images/menubox.png
|
||||
image-border: 3
|
Reference in New Issue
Block a user