tibia-client/modules/client_skins/skins/default/styles/miniwindow.otui

94 lines
1.8 KiB
Plaintext
Raw Normal View History

MiniWindow < UIMiniWindow
font: verdana-11px-antialised
icon-rect: 4 4 16 16
width: 192
height: 200
text-offset: 24 5
text-align: topLeft
image-source: /images/miniwindow.png
image-border: 4
image-border-top: 23
image-border-bottom: 4
focusable: false
&minimizedHeight: 24
$on:
image-border-bottom: 2
UIButton
id: closeButton
anchors.top: parent.top
anchors.right: parent.right
margin-top: 5
margin-right: 5
size: 14 14
image-source: /images/miniwindowbuttons.png
image-clip: 28 0 14 14
$hover:
image-clip: 28 14 14 14
$pressed:
image-clip: 28 28 14 14
UIButton
id: minimizeButton
anchors.top: closeButton.top
anchors.right: closeButton.left
margin-right: 3
size: 14 14
image-source: /images/miniwindowbuttons.png
image-clip: 0 0 14 14
$hover:
image-clip: 0 14 14 14
$pressed:
image-clip: 0 28 14 14
$on:
image-clip: 14 0 14 14
$on hover:
image-clip: 14 14 14 14
$on pressed:
image-clip: 14 28 14 14
VerticalScrollBar
id: miniwindowScrollBar
anchors.top: parent.top
anchors.bottom: parent.bottom
anchors.right: parent.right
step: 14
margin-top: 22
margin-right: 2
2012-03-28 02:33:35 +02:00
margin-bottom: 3
pixels-scroll: true
2012-06-11 07:38:08 +02:00
$!on:
2012-04-03 01:19:27 +02:00
width: 0
2012-03-28 02:33:35 +02:00
ResizeBorder
id: bottomResizeBorder
anchors.bottom: parent.bottom
anchors.left: parent.left
anchors.right: parent.right
height: 3
2012-08-18 07:04:01 +02:00
minimum: 48
2012-03-28 02:33:35 +02:00
background: #ffffff88
MiniWindowContents < ScrollablePanel
id: contentsPanel
anchors.fill: parent
2012-04-03 01:19:27 +02:00
anchors.right: miniwindowScrollBar.left
margin-right: -1
margin-top: 21
padding: 4
padding-top: 2
vertical-scrollbar: miniwindowScrollBar
BorderlessGameWindow < UIWindow
focusable: false
margin: 2