forked from fyne-io/fyne
/
change_content_initial.xml
44 lines (44 loc) · 1.74 KB
/
change_content_initial.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
<canvas size="150x150">
<content>
<widget size="150x150" type="*container.DocTabs">
<container size="150x36">
<widget size="110x36" type="*widget.Scroll">
<container size="149x36">
<widget size="73x37" type="*container.tabButton">
<text bold color="primary" pos="4,8" size="65x20">Test1</text>
<widget pos="49,8" size="20x20" type="*container.tabCloseButton">
<image rsc="cancelIcon" size="iconInlineSize" themed="primary"/>
</widget>
</widget>
<widget pos="77,0" size="72x37" type="*container.tabButton">
<text bold pos="4,8" size="64x20">Test2</text>
<widget pos="48,8" size="20x20" type="*container.tabCloseButton">
<image rsc="cancelIcon" size="iconInlineSize"/>
</widget>
</widget>
</container>
<widget pos="0,30" size="110x6" type="*widget.scrollBarArea">
<widget pos="0,3" size="81x3" type="*widget.scrollBar">
<rectangle fillColor="scrollbar" size="81x3"/>
</widget>
</widget>
<widget pos="110,0" size="0x36" type="*widget.Shadow">
<linearGradient angle="270" endColor="shadow" pos="-8,0" size="8x36"/>
</widget>
</widget>
<container pos="114,0" size="36x36">
<widget size="36x36" type="*widget.Button">
<rectangle fillColor="button" size="36x36"/>
<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,36" size="150x4"/>
<rectangle fillColor="primary" pos="0,36" size="73x4"/>
<widget pos="0,40" size="150x109" type="*widget.Label">
<text pos="8,8" size="134x20">Text1</text>
</widget>
</widget>
</content>
</canvas>