summaryrefslogtreecommitdiff
path: root/indra/newview/scripts/lua/luafloater_demo.xml
blob: 069f22912835d4201ba7074e5f3b74d4a54a0077 (plain)
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
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<floater
 legacy_header_height="18"
 height="150"
 layout="topleft"
 name="lua_demo"
 title="LUA"
 width="320">
    <check_box
     height="16"
     label="Disable button"
     layout="topleft"
     top_pad="35"
     left="5"
     name="disable_ctrl"
     width="146" />
    <line_editor
     border_style="line"
     border_thickness="1"
     follows="left|bottom"
     font="SansSerif"
     height="20"
     layout="topleft"
     max_length_bytes="50"
     name="openfloater_cmd"
     top_delta="25"
     width="100" />
    <button
     follows="left|bottom"
     height="23"
     label="Open floater"
     layout="topleft"
     name="open_btn"
     top_delta="25"
     width="100" >
    </button>
    <text
     type="string"
     follows="left|top"
     height="10"
     layout="topleft"
     top="30"
     left_delta="170"
     name="title_lbl">
      Select title
    </text> 
    <combo_box
     follows="top|left"
     height="23"
     name="title_cmb"
     top_pad="5"
     width="100">
        <combo_box.item
         label="LUA"
         value="LUA" />
        <combo_box.item
         label="LUA floater"
         value="LUA floater" />
        <combo_box.item
         label="LUA-U title"
         value="LUA-U title" />
    </combo_box>
    <text
     type="string"
     follows="left|bottom"
     height="10"
     layout="topleft"
     top_delta="50"
     name="show_time_lbl">
       Double click me
    </text>
    <text
     type="string"
     follows="left|top"
     height="10"
     layout="topleft"
     top_pad="15"
     font="SansSerif"
     text_color="white"
     left_delta="15"
     name="time_lbl"/>
</floater>