tibia-client/modules/game_questlog/questlogwindow.otui

53 lines
1.0 KiB
Plaintext
Raw Normal View History

2012-05-01 04:00:07 +02:00
QuestLabel < Label
font: verdana-11px-monochrome
text-offset: 2 0
focusable: true
color: #aaaaaa
background-color: alpha
2012-05-01 04:00:07 +02:00
$on:
color: #00aa00
2012-05-01 04:00:07 +02:00
$!on:
color: #aaaaaa
$focus:
background-color: #444444
2012-05-01 04:00:07 +02:00
$on focus:
color: #00ff00
2012-05-01 04:00:07 +02:00
$!on focus:
color: #ffffff
2012-05-01 04:00:07 +02:00
QuestLogWindow < MainWindow
id: questLogWindow
!text: tr('Quest Log')
size: 500 400
@onEscape: self:destroy()
TextList
id: questList
anchors.top: parent.top
anchors.bottom: closeButton.top
anchors.left: parent.left
anchors.right: questListScrollBar.left
margin-bottom: 10
2012-05-01 04:00:07 +02:00
focusable: false
vertical-scrollbar: questListScrollBar
VerticalScrollBar
id: questListScrollBar
anchors.top: parent.top
anchors.bottom: closeButton.top
anchors.right: parent.right
margin-bottom: 10
2012-05-01 04:00:07 +02:00
step: 14
pixels-scroll: true
Button
id: closeButton
anchors.bottom: parent.bottom
anchors.right: parent.right
!text: tr('Close')
width: 90
@onClick: self:getParent():destroy()