questlinewindow.otui

main 52 lines · 1.1 KB Raw
Alex Alex Commit Client Upload Part 2 19/10/2026 00:06
1MissionLabel < Label
2 font: verdana-11px-monochrome
3 background-color: alpha
4 text-offset: 2 0
5 focusable: true
6
7 $focus:
8 background-color: #ffffff22
9 color: #ffffff
10
11QuestLineWindow < MainWindow
12 id: questLineWindow
13 !text: tr('Quest Log')
14 size: 500 400
15 @onEscape: self:destroy()
16
17 TextList
18 id: missionList
19 anchors.top: parent.top
20 anchors.left: parent.left
21 anchors.right: missionListScrollBar.left
22 height: 100
23 padding: 1
24 focusable: false
25 vertical-scrollbar: missionListScrollBar
26
27 VerticalScrollBar
28 id: missionListScrollBar
29 anchors.top: parent.top
30 anchors.right: parent.right
31 height: 100
32 step: 14
33 pixels-scroll: true
34
35 FlatLabel
36 id: missionDescription
37 anchors.top: missionList.bottom
38 anchors.left: parent.left
39 anchors.right: missionListScrollBar.right
40 anchors.bottom: closeButton.top
41 margin-bottom: 10
42 margin-top: 10
43 text-wrap: true
44
45 Button
46 id: closeButton
47 anchors.bottom: parent.bottom
48 anchors.right: parent.right
49 !text: tr('Close')
50 width: 90
51 @onClick: self:getParent():destroy()
52
Top