QuestLabel < Label font: verdana-11px-monochrome text-offset: 2 0 focusable: true color: #aaaaaa background-color: alpha $on: color: #00aa00 $!on: color: #aaaaaa $focus: background-color: #444444 $on focus: color: #00ff00 $!on focus: color: #ffffff 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 focusable: false vertical-scrollbar: questListScrollBar VerticalScrollBar id: questListScrollBar anchors.top: parent.top anchors.bottom: closeButton.top anchors.right: parent.right margin-bottom: 10 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()