passiveBox.otui

main 112 lines · 2.3 KB Raw
Alex Alex Commit Client Upload Part 2 19/10/2026 00:06
1MainWindow
2 id: passiveWindow
3 size: 310 350
4 image-source: /images/custom/Shop/item_shop_view
5 draggable: false
6 focusable: true
7 @onEscape: closer_boxShop()
8
9 UIButton
10 id: categoria_1
11 size: 60 35
12 anchors.top: parent.top
13 anchors.left: parent.left
14 margin-top: 05
15 margin-left: 10
16 @onClick: onLoadPassives(01)
17 opacity: 0.8
18 $pressed:
19 opacity: 0.6
20 $hover !pressed:
21 opacity: 1.0
22
23 UIButton
24 id: categoria_2
25 size: 60 35
26 anchors.top: parent.top
27 anchors.left: categoria_1.right
28 margin-left: 05
29 margin-top: 05
30 @onClick: onLoadPassives(02)
31 opacity: 0.8
32 $pressed:
33 opacity: 0.6
34 $hover !pressed:
35 opacity: 1.0
36
37 UIButton
38 id: categoria_3
39 size: 60 35
40 anchors.top: parent.top
41 anchors.left: categoria_2.right
42 margin-left: 05
43 margin-top: 05
44 @onClick: onLoadPassives(03)
45 opacity: 0.8
46 $pressed:
47 opacity: 0.6
48 $hover !pressed:
49 opacity: 1.0
50
51 UIButton
52 id: categoria_4
53 size: 60 35
54 anchors.top: parent.top
55 anchors.left: categoria_3.right
56 margin-left: 05
57 margin-top: 05
58 @onClick: onLoadPassives(04)
59 opacity: 0.8
60 $pressed:
61 opacity: 0.6
62 $hover !pressed:
63 opacity: 1.0
64
65 VerticalScrollBar
66 id: PassiveListScrollBar
67 anchors.top: categoria_1.bottom
68 anchors.bottom: parent.bottom
69 anchors.right: parent.right
70 step: 24
71 opacity: 0.8
72 margin-bottom: 50
73 margin-top: 10
74 margin-right: 5
75 pixels-scroll: true
76
77 ScrollablePanel
78 id: passivePanel
79 size: 250 64
80 anchors.right: parent.right
81 anchors.right: prev.left
82 anchors.top: categoria_1.bottom
83 anchors.bottom: parent.bottom
84 vertical-scrollbar: PassiveListScrollBar
85 margin-top: 10
86 margin-left: 02
87 margin-right: 02
88 margin-bottom: 50
89 layout:
90 type: grid
91 cell-size: 250 100
92 flow: true
93 margin-top: 5
94
95 UIButton
96 id: exitButton
97 !text: tr('CANCELAR')
98 image-source: /images/custom/UI/button
99 height: 30
100 font: verdana-11px-antialised
101 anchors.bottom: parent.bottom
102 anchors.right: parent.right
103 anchors.left: parent.left
104 margin-left: 10
105 margin-right: 15
106 margin-bottom: 05
107 @onClick: closer_boxShop()
108 opacity: 0.8
109 $pressed:
110 opacity: 0.6
111 $hover !pressed:
112 opacity: 1.0
Top