1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <Window size =" 1200,800" caption =" 0,0,0,35" >
3
+ <VBox bkcolor =" bk_wnd_darkcolor" >
4
+ <HBox width =" stretch" height =" 35" bkcolor =" bk_wnd_lightcolor" >
5
+ <Label text =" TileBox数据懒加载实现" font =" system_14" valign =" center" margin =" 8" />
6
+ <Control />
7
+ <Button class =" btn_wnd_min" name =" minbtn" margin =" 4,6,0,0" />
8
+ <Box width =" 21" margin =" 4,6,0,0" >
9
+ <Button class =" btn_wnd_max" name =" maxbtn" />
10
+ <Button class =" btn_wnd_restore" name =" restorebtn" visible =" false" />
11
+ </Box >
12
+ <Button class =" btn_wnd_close" name =" closebtn" margin =" 4,6,8,0" />
13
+ </HBox >
14
+ <HBox childmargin =" 5" bkcolor =" white" padding =" 5,5,5,10" >
15
+ <VBox width =" 300" bordersize =" 1" bordercolor =" splitline_level2" padding =" 5,10,5,10" childmargin =" 10" >
16
+ <HBox height =" 30" childmargin =" 10" >
17
+ <Label font =" system_bold_14" text =" 列设置:" width =" auto" height =" auto" valign =" center" />
18
+ <Option class =" circle_option_2" name =" option_column_auto" group =" option_group" text =" 自动计算" margin =" 0,5,0,10" selected =" true" />
19
+ <Option class =" circle_option_2" name =" option_column_fix" group =" option_group" text =" 固定列数" margin =" 0,5,0,10" >
20
+ <Event type =" select" receiver =" box_column_op" applyattribute =" visible=" true" " />
21
+ <Event type =" unselect" receiver =" box_column_op" applyattribute =" visible=" false" " />
22
+ </Option >
23
+ </HBox >
24
+
25
+ <HBox name =" box_column_op" height =" 30" childmargin =" 10" visible =" false" >
26
+ <Control width =" 45" />
27
+ <Box bordersize =" 1" bordercolor =" splitline_level1" width =" 80" height =" 26" >
28
+ <RichEdit name =" edit_column" margin =" 10,0,10,0" font =" system_14" width =" stretch" height =" auto" valign =" center" normaltextcolor =" black" multiline =" false" promptmode =" true" prompttext =" 列数" align =" vcenter,hcenter" text =" 3" promptcolor =" splitline_level1" autohscroll =" true" />
29
+ </Box >
30
+ <CheckBox class =" checkbox_font12" name =" checkbox_item_center" text =" 列表居中" margin =" 0,5,0,10" selected =" true" />
31
+ </HBox >
32
+ <Control height =" 1" bkcolor =" splitline_level2" />
33
+ <HBox height =" 30" childmargin =" 10" >
34
+ <Label font =" system_bold_14" text =" 子项间隙:" width =" auto" height =" auto" valign =" center" />
35
+ <Box bordersize =" 1" bordercolor =" splitline_level1" width =" 80" height =" 26" >
36
+ <RichEdit name =" edit_child_margin" margin =" 10,0,10,0" font =" system_14" width =" stretch" height =" auto" valign =" center" normaltextcolor =" black" multiline =" false" promptmode =" true" prompttext =" 子项间隙" align =" vcenter,hcenter" text =" " promptcolor =" splitline_level1" autohscroll =" true" />
37
+ </Box >
38
+ </HBox >
39
+ <HBox height =" 30" childmargin =" 10" >
40
+ <Label font =" system_bold_14" text =" 总数据:" width =" auto" height =" auto" valign =" center" />
41
+ <Box bordersize =" 1" bordercolor =" splitline_level1" width =" 180" >
42
+ <RichEdit name =" edit_total" margin =" 10,0,10,0" font =" system_14" width =" stretch" height =" auto" valign =" center" normaltextcolor =" black" multiline =" false" promptmode =" true" prompttext =" 总数据" promptcolor =" splitline_level1" autohscroll =" true" />
43
+ </Box >
44
+
45
+ </HBox >
46
+
47
+ <Box height =" 30" childmargin =" 10" width =" stretch" >
48
+ <Button class =" btn_global_blue_80x30" halign =" center" valign =" center" name =" btn_set_total" text =" 更改/设置" />
49
+ </Box >
50
+
51
+ <Control height =" 1" bkcolor =" splitline_level2" />
52
+
53
+ <HBox height =" 30" childmargin =" 10" >
54
+ <Label font =" system_bold_14" text =" 改变数据:" width =" auto" height =" auto" valign =" center" />
55
+ <Box bordersize =" 1" bordercolor =" splitline_level1" height =" 26" >
56
+ <RichEdit name =" edit_update" margin =" 10,0,10,0" font =" system_14" width =" stretch" height =" auto" valign =" center" normaltextcolor =" black" multiline =" false" promptmode =" true" prompttext =" 序号(下标1)" promptcolor =" splitline_level1" autohscroll =" true" align =" vcenter,hcenter" />
57
+ </Box >
58
+ <Box bordersize =" 1" bordercolor =" splitline_level1" height =" 26" >
59
+ <RichEdit name =" edit_task_name" margin =" 10,0,10,0" font =" system_14" width =" stretch" height =" auto" valign =" center" normaltextcolor =" black" multiline =" false" promptmode =" true" prompttext =" 新的任务名称" promptcolor =" splitline_level1" autohscroll =" true" />
60
+ </Box >
61
+ </HBox >
62
+
63
+
64
+ <Box height =" 30" childmargin =" 10" width =" stretch" >
65
+ <Button class =" btn_global_blue_80x30" halign =" center" valign =" center" name =" btn_update" text =" 更新数据" />
66
+ </Box >
67
+
68
+ <Control height =" 1" bkcolor =" splitline_level2" />
69
+
70
+ <HBox height =" 30" childmargin =" 10" >
71
+ <Label font =" system_bold_14" text =" 删除数据:" width =" auto" height =" auto" valign =" center" />
72
+ <Box bordersize =" 1" bordercolor =" splitline_level1" >
73
+ <RichEdit name =" edit_delete" margin =" 10,0,10,0" font =" system_14" width =" stretch" height =" auto" valign =" center" normaltextcolor =" black" multiline =" false" promptmode =" true" prompttext =" 序号(下标1)" promptcolor =" splitline_level1" autohscroll =" true" align =" vcenter,hcenter" />
74
+ </Box >
75
+ <Button class =" btn_global_red_80x30" halign =" center" valign =" center" name =" btn_delete" text =" 删除数据" />
76
+ </HBox >
77
+
78
+
79
+ </VBox >
80
+ <!-- column="3" width="auto" halign="center" childmargin="10" -->
81
+ <Box >
82
+ <VirtualTileBox class =" list" name =" list" vscrollunit =" 70" itemsize =" 220,60" bordersize =" 1" bordercolor =" splitline_level2" padding =" 1,1,1,1" >
83
+ </VirtualTileBox >
84
+ </Box >
85
+
86
+ </HBox >
87
+ </VBox >
88
+ </Window >
0 commit comments