/indra/newview/skins/default/xui/en/floater_avatar_picker.xml

https://bitbucket.org/lindenlab/viewer-beta/ · XML · 247 lines · 242 code · 1 blank · 4 comment · 0 complexity · c7a6970c77bc005eda92b93782883dc9 MD5 · raw file

  1. <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
  2. <floater
  3. open_positioning="cascading"
  4. legacy_header_height="18"
  5. can_resize="true"
  6. height="350"
  7. layout="topleft"
  8. min_height="200"
  9. min_width="400"
  10. name="avatarpicker"
  11. help_topic="avatarpicker"
  12. title="CHOOSE RESIDENT"
  13. width="500">
  14. <floater.string
  15. name="not_found">
  16. &apos;[TEXT]&apos; not found
  17. </floater.string>
  18. <floater.string
  19. name="no_one_near">
  20. No one near
  21. </floater.string>
  22. <floater.string
  23. name="no_results">
  24. No results
  25. </floater.string>
  26. <floater.string
  27. name="searching">
  28. Searching...
  29. </floater.string>
  30. <!-- For multiple person selection, use "Select" and "Close"
  31. instead of "OK" and "Cancel" because "Cancel" still keeps the ones
  32. you have already selected. The code will show the appropriate
  33. set of buttons. -->
  34. <string name="Select">Select</string>
  35. <string name="Close">Close</string>
  36. <tab_container
  37. follows="all"
  38. height="300"
  39. layout="topleft"
  40. left="0"
  41. name="ResidentChooserTabs"
  42. tab_position="top"
  43. top="20"
  44. width="500">
  45. <panel
  46. border="none"
  47. height="150"
  48. label="Search"
  49. layout="topleft"
  50. left="6"
  51. help_topic="avatarpicker"
  52. name="SearchPanel"
  53. top="150"
  54. width="132">
  55. <text
  56. type="string"
  57. length="1"
  58. follows="left|top"
  59. height="16"
  60. layout="topleft"
  61. left="10"
  62. name="InstructSearchResidentName"
  63. top="8"
  64. width="220">
  65. Type part of a person&apos;s name:
  66. </text>
  67. <line_editor
  68. bevel_style="none"
  69. border_style="line"
  70. border.border_thickness="0"
  71. commit_on_focus_lost="false"
  72. follows="left|top|right"
  73. height="23"
  74. left_delta="0"
  75. name="Edit"
  76. top_pad="0"
  77. width="65" />
  78. <button
  79. follows="top|right"
  80. height="23"
  81. label="Go"
  82. label_selected="Go"
  83. layout="topleft"
  84. left_pad="5"
  85. name="Find"
  86. width="45" />
  87. <scroll_list
  88. draw_heading="true"
  89. follows="all"
  90. height="98"
  91. layout="topleft"
  92. left="0"
  93. name="SearchResults"
  94. top="52"
  95. width="132">
  96. <columns
  97. label="Name"
  98. name="name"
  99. width="150" />
  100. <columns
  101. label="Username"
  102. name="username"
  103. width="150" />
  104. </scroll_list>
  105. </panel>
  106. <panel
  107. border="none"
  108. height="150"
  109. label="Friends"
  110. layout="topleft"
  111. left="6"
  112. help_topic="avatarpicker"
  113. name="FriendsPanel"
  114. top="150"
  115. width="132">
  116. <text
  117. type="string"
  118. length="1"
  119. follows="left|top"
  120. height="16"
  121. layout="topleft"
  122. left="10"
  123. name="InstructSelectFriend"
  124. top="5"
  125. width="200">
  126. Select a person:
  127. </text>
  128. <button
  129. follows="top|right"
  130. layout="topleft"
  131. right="-5"
  132. top ="5"
  133. height="20"
  134. width="20"
  135. name="RefreshFriends"
  136. image_overlay="Refresh_Off">
  137. <button.commit_callback
  138. function="Refresh.FriendList"/>
  139. </button>
  140. <scroll_list
  141. follows="all"
  142. height="120"
  143. border="false"
  144. layout="topleft"
  145. left="0"
  146. name="Friends"
  147. sort_column="0"
  148. top_pad="5"
  149. width="132" />
  150. </panel>
  151. <panel
  152. border="none"
  153. height="150"
  154. label="Near Me"
  155. layout="topleft"
  156. left="6"
  157. help_topic="avatarpicker"
  158. name="NearMePanel"
  159. top="150"
  160. width="132">
  161. <text
  162. type="string"
  163. length="1"
  164. follows="left|top"
  165. height="16"
  166. layout="topleft"
  167. left="10"
  168. name="InstructSelectResident"
  169. top="8"
  170. width="220">
  171. Select a person nearby:
  172. </text>
  173. <slider
  174. control_name="NearMeRange"
  175. decimal_digits="0"
  176. follows="left|top"
  177. height="18"
  178. increment="1"
  179. initial_value="20"
  180. label="Range"
  181. layout="topleft"
  182. left="10"
  183. max_val="130"
  184. min_val="5"
  185. name="near_me_range"
  186. top_pad="0"
  187. width="160" />
  188. <text
  189. type="string"
  190. length="1"
  191. follows="left|top"
  192. height="18"
  193. layout="topleft"
  194. left_pad="0"
  195. name="meters"
  196. width="60">
  197. Meters
  198. </text>
  199. <button
  200. follows="top|left"
  201. layout="topleft"
  202. left_pad="0"
  203. height="28"
  204. width="28"
  205. name="Refresh"
  206. image_overlay="Refresh_Off" />
  207. <scroll_list
  208. draw_heading="true"
  209. follows="all"
  210. height="100"
  211. border="false"
  212. layout="topleft"
  213. left="0"
  214. name="NearMe"
  215. sort_column="0"
  216. top="52"
  217. width="132">
  218. <columns
  219. label="Name"
  220. name="name"
  221. width="150" />
  222. <columns
  223. label="Username"
  224. name="username"
  225. width="150" />
  226. </scroll_list>
  227. </panel>
  228. </tab_container>
  229. <button
  230. follows="left|bottom"
  231. height="23"
  232. label="OK"
  233. label_selected="OK"
  234. name="ok_btn"
  235. top_pad="3"
  236. left="10"
  237. width="100" />
  238. <button
  239. follows="left|bottom"
  240. height="23"
  241. label="Cancel"
  242. label_selected="Cancel"
  243. name="cancel_btn"
  244. width="100"
  245. left_pad="5" />
  246. </floater>