diff options
Diffstat (limited to 'indra/newview/skins/default/xui/en/floater_test_combobox.xml')
-rw-r--r-- | indra/newview/skins/default/xui/en/floater_test_combobox.xml | 158 |
1 files changed, 158 insertions, 0 deletions
diff --git a/indra/newview/skins/default/xui/en/floater_test_combobox.xml b/indra/newview/skins/default/xui/en/floater_test_combobox.xml new file mode 100644 index 0000000000..45e2e34da7 --- /dev/null +++ b/indra/newview/skins/default/xui/en/floater_test_combobox.xml @@ -0,0 +1,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="<Type region name>" + 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> |