summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en/floater_test_combobox.xml
blob: 4211d624ac40fc9a45219b7ac7388ad1eeb73c6d (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
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<floater
 legacy_header_height="18"
 can_resize="true"
 height="400"
 layout="topleft"
 name="floater_test_combobox"
 help_topic="floater_test_combobox"
 translate="false"
 width="400">
    <text
     type="string"
     length="1"
     height="16"
     layout="topleft"
     left="10"
     top="24"
     width="200">
        Real world usage (login location):
    </text>
    <combo_box
     allow_text_entry="true"
     control_name="LoginLocation"
     follows="left|bottom"
     height="18"
     layout="topleft"
     left_delta="0"
     max_chars="128"
     name="start_location_combo"
     top_pad="2"
     width="155">
        <combo_box.item
         label="My Last Location"
         name="MyLastLocation"
         value="last" />
        <combo_box.item
         label="My Home"
         name="MyHome"
         value="home" />
        <combo_box.item
         label="&lt;Type region name&gt;"
         name="Typeregionname"
         value="" />
    </combo_box>
    <text
     type="string"
     length="1"
     height="16"
     layout="topleft"
     left_delta="0"
     top_pad="24"
     width="200">
        Minimal combobox:
    </text>
    <combo_box
     height="18"
     layout="topleft"
     left_delta="0"
     name="minimal_combo"
     top_pad="2"
     width="150">
        <combo_box.item
         label="First Item"
         name="item1"
         value="first" />
        <combo_box.item
         label="Second Item"
         name="item2"
         value="second" />
    </combo_box>
    <text
     type="string"
     length="1"
     height="16"
     layout="topleft"
     left_delta="0"
     top_pad="24"
     width="200">
        Allow text input:
    </text>
    <combo_box
     allow_text_entry="true"
     height="18"
     layout="topleft"
     left_delta="0"
     name="text_entry_combo"
     top_pad="2"
     width="150">
        <combo_box.item
         label="First Item"
         name="item1"
         value="first" />
        <combo_box.item
         label="Second Item"
         name="item2"
         value="second" />
    </combo_box>
    <text
     type="string"
     length="1"
     height="16"
     layout="topleft"
     left_delta="0"
     top_pad="24"
     width="200">
        Allow text input, default to second item:
    </text>
    <combo_box
     allow_text_entry="true"
     height="18"
     initial_value="second"
     layout="topleft"
     left_delta="0"
     name="text_entry_combo2"
     top_pad="2"
     width="150">
        <combo_box.item
         label="First Item"
         name="item1"
         value="first" />
        <combo_box.item
         label="Second Item"
         name="item2"
         value="second" />
    </combo_box>
    <text
     type="string"
     length="1"
     height="16"
     layout="topleft"
     left_delta="0"
     top_pad="24"
     width="200">
        Two character max input:
    </text>
    <combo_box
     allow_text_entry="true"
     height="16"
     layout="topleft"
     left_delta="0"
     max_chars="2"
     name="state_combo"
     top_pad="4"
     width="150">
        <combo_box.item
         label="CA"
         name="item1"
         value="ca" />
        <combo_box.item
         label="NY"
         name="item2"
         value="ny" />
        <combo_box.item
         label="TX"
         name="item3"
         value="tx" />
    </combo_box>
</floater>