/
tapped_create_tab.xml
61 lines (61 loc) · 2.57 KB
/
tapped_create_tab.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<canvas size="300x100">
<content>
<widget size="300x100" type="*container.DocTabs">
<container size="300x37">
<widget size="220x37" type="*widget.Scroll">
<container pos="-172,0" size="392x37">
<widget size="95x37" type="*container.tabButton">
<text bold pos="4,8" size="87x21">Test1</text>
<widget pos="71,8" size="20x20" type="*container.tabCloseButton">
<image rsc="cancelIcon" size="iconInlineSize"/>
</widget>
</widget>
<widget pos="99,0" size="95x37" type="*container.tabButton">
<text bold pos="4,8" size="87x21">Test2</text>
<widget pos="71,8" size="20x20" type="*container.tabCloseButton">
<image rsc="cancelIcon" size="iconInlineSize"/>
</widget>
</widget>
<widget pos="198,0" size="95x37" type="*container.tabButton">
<text bold pos="4,8" size="87x21">Test3</text>
<widget pos="71,8" size="20x20" type="*container.tabCloseButton">
<image rsc="cancelIcon" size="iconInlineSize"/>
</widget>
</widget>
<widget pos="297,0" size="95x37" type="*container.tabButton">
<text bold color="primary" pos="4,8" size="87x21">Another</text>
<widget pos="71,8" size="20x20" type="*container.tabCloseButton">
<image rsc="cancelIcon" size="iconInlineSize" themed="primary"/>
</widget>
</widget>
</container>
<widget pos="0,31" size="220x6" type="*widget.scrollBarArea">
<widget pos="96,3" size="123x3" type="*widget.scrollBar">
<rectangle fillColor="scrollbar" size="123x3"/>
</widget>
</widget>
<widget size="0x37" type="*widget.Shadow">
<linearGradient angle="270" size="8x37" startColor="shadow"/>
</widget>
</widget>
<container pos="224,0" size="76x37">
<widget size="36x37" type="*widget.Button">
<rectangle fillColor="button" size="36x37"/>
<rectangle fillColor="rgba(0,0,0,0)" pos="0,2" size="32x33"/>
<image fillMode="contain" pos="8,8" rsc="contentAddIcon" size="iconInlineSize"/>
</widget>
<widget pos="40,0" size="36x37" type="*widget.Button">
<rectangle fillColor="button" size="36x37"/>
<rectangle size="0x0"/>
<image fillMode="contain" pos="8,8" rsc="more-horizontal.svg" size="iconInlineSize" themed="default"/>
</widget>
</container>
</container>
<rectangle fillColor="shadow" pos="0,37" size="300x4"/>
<rectangle fillColor="primary" pos="125,37" size="95x4"/>
<widget pos="0,41" size="300x59" type="*widget.Label">
<text pos="8,8" size="284x21">Another Tab</text>
</widget>
</widget>
</content>
</canvas>