File size: 2,843 Bytes
b6a38d7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
-- ========== GENERATED BY XTemplate Editor (Alt-F3) DO NOT EDIT MANUALLY! ==========

PlaceObj('XTemplate', {
	group = "GedControls",
	id = "GedNestedElementsList",
	save_in = "Ged",
	PlaceObj('XTemplateWindow', {
		'__class', "XDialog",
		'Background', RGBA(0, 0, 0, 160),
	}, {
		PlaceObj('XTemplateWindow', {
			'Id', "idPopupBackground",
			'Margins', box(30, 30, 30, 30),
			'BorderWidth', 2,
			'HAlign', "center",
			'VAlign', "center",
			'Background', RGBA(128, 128, 128, 16),
		}, {
			PlaceObj('XTemplateWindow', {
				'Margins', box(0, 0, 0, 10),
				'Dock', "top",
				'Background', RGBA(128, 128, 128, 64),
			}, {
				PlaceObj('XTemplateWindow', {
					'__class', "XText",
					'Id', "idTitle",
					'Margins', box(4, 2, 4, 2),
					'Dock', "left",
					'TextStyle', "GedTitle",
				}),
				PlaceObj('XTemplateWindow', {
					'__class', "XTextButton",
					'Padding', box(1, 1, 1, 1),
					'Dock', "right",
					'VAlign', "center",
					'LayoutHSpacing', 0,
					'Background', RGBA(0, 0, 0, 0),
					'OnPressEffect', "close",
					'RolloverBackground', RGBA(204, 232, 255, 255),
					'PressedBackground', RGBA(121, 189, 241, 255),
					'TextStyle', "GedTitle",
					'Text', "X",
				}),
				}),
			PlaceObj('XTemplateWindow', {
				'Id', "idLeftList",
				'IdNode', true,
				'Margins', box(0, 0, 0, 7),
				'Padding', box(10, 0, 10, 0),
				'Dock', "left",
				'MinWidth', 310,
				'MaxWidth', 310,
			}, {
				PlaceObj('XTemplateWindow', {
					'__class', "XEdit",
					'Id', "idSearch",
					'IdNode', true,
					'Margins', box(0, 0, 0, 5),
					'Dock', "top",
				}),
				PlaceObj('XTemplateWindow', {
					'Id', "idWin",
					'IdNode', true,
					'BorderWidth', 1,
				}, {
					PlaceObj('XTemplateWindow', {
						'__class', "XList",
						'Id', "idList",
						'IdNode', false,
						'BorderWidth', 0,
						'VScroll', "idScroll",
					}),
					PlaceObj('XTemplateWindow', {
						'__class', "XSleekScroll",
						'Id', "idScroll",
						'Dock', "right",
						'Target', "idList",
						'SnapToItems', true,
						'AutoHide', true,
					}),
					}),
				}),
			PlaceObj('XTemplateWindow', {
				'__class', "XScrollArea",
				'Id', "idRightList",
				'IdNode', false,
				'Margins', box(0, 0, 5, 7),
				'BorderWidth', 1,
				'Padding', box(3, 3, 3, 0),
				'LayoutMethod', "VWrap",
				'LayoutHSpacing', 5,
				'Background', RGBA(240, 240, 240, 255),
				'HScroll', "idHScroll",
			}, {
				PlaceObj('XTemplateWindow', {
					'__class', "XSleekScroll",
					'Id', "idHScroll",
					'Dock', "bottom",
					'DrawOnTop', true,
					'Target', "idRightList",
					'SnapToItems', true,
					'AutoHide', true,
					'Horizontal', true,
				}),
				}),
			PlaceObj('XTemplateWindow', {
				'__class', "XText",
				'Margins', box(4, 2, 4, 2),
				'Dock', "bottom",
				'Text', "(click to choose an item)",
			}),
			}),
		}),
})