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

https://bitbucket.org/lindenlab/viewer-beta/ · XML · 198 lines · 198 code · 0 blank · 0 comment · 0 complexity · 26df891a3b96f9b1dfeb76f2f5db0ae9 MD5 · raw file

  1. <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
  2. <panel
  3. height="380"
  4. layout="topleft"
  5. name="panel_snapshot_profile"
  6. width="490">
  7. <icon
  8. follows="top|left"
  9. height="18"
  10. image_name="Snapshot_Profile"
  11. layout="topleft"
  12. left="12"
  13. mouse_opaque="true"
  14. name="title_icon"
  15. top="5"
  16. width="18" />
  17. <text
  18. follows="top|left|right"
  19. font="SansSerifBold"
  20. height="20"
  21. layout="topleft"
  22. left_pad="12"
  23. length="1"
  24. name="title"
  25. right="-10"
  26. text_color="white"
  27. type="string"
  28. top_delta="4">
  29. Post to My Profile Feed
  30. </text>
  31. <view_border
  32. bevel_style="in"
  33. follows="left|top|right"
  34. height="1"
  35. left="10"
  36. layout="topleft"
  37. name="hr"
  38. right="-10"
  39. top_pad="5"
  40. />
  41. <combo_box
  42. follows="left|top"
  43. height="23"
  44. label="Resolution"
  45. layout="topleft"
  46. left_delta="0"
  47. name="profile_size_combo"
  48. top_pad="10"
  49. width="250">
  50. <combo_box.item
  51. label="Current Window"
  52. name="CurrentWindow"
  53. value="[i0,i0]" />
  54. <combo_box.item
  55. label="640x480"
  56. name="640x480"
  57. value="[i640,i480]" />
  58. <combo_box.item
  59. label="800x600"
  60. name="800x600"
  61. value="[i800,i600]" />
  62. <combo_box.item
  63. label="1024x768"
  64. name="1024x768"
  65. value="[i1024,i768]" />
  66. <combo_box.item
  67. label="Custom"
  68. name="Custom"
  69. value="[i-1,i-1]" />
  70. </combo_box>
  71. <layout_stack
  72. animate="false"
  73. follows="all"
  74. height="270"
  75. layout="bottomleft"
  76. name="profile_image_params_ls"
  77. left_delta="0"
  78. orientation="vertical"
  79. top_pad="10"
  80. right="-10">
  81. <layout_panel
  82. follows="top|left|right"
  83. height="55"
  84. layout="topleft"
  85. left="0"
  86. name="profile_image_size_lp"
  87. auto_resize="false"
  88. top="0"
  89. right="-1"
  90. visible="true">
  91. <spinner
  92. allow_text_entry="false"
  93. decimal_digits="0"
  94. follows="left|top"
  95. height="20"
  96. increment="32"
  97. label="Width"
  98. label_width="40"
  99. layout="topleft"
  100. left="10"
  101. max_val="6016"
  102. min_val="32"
  103. name="profile_snapshot_width"
  104. top_pad="10"
  105. width="95" />
  106. <spinner
  107. allow_text_entry="false"
  108. decimal_digits="0"
  109. follows="left|top"
  110. height="20"
  111. increment="32"
  112. label="Height"
  113. label_width="40"
  114. layout="topleft"
  115. left_pad="5"
  116. max_val="6016"
  117. min_val="32"
  118. name="profile_snapshot_height"
  119. top_delta="0"
  120. width="95" />
  121. <check_box
  122. bottom_delta="20"
  123. label="Constrain proportions"
  124. layout="topleft"
  125. left="10"
  126. name="profile_keep_aspect_check" />
  127. </layout_panel>
  128. <layout_panel
  129. follows="top|left|right"
  130. height="200"
  131. layout="topleft"
  132. left="0"
  133. name="profile_image_metadata_lp"
  134. auto_resize="true"
  135. top="0"
  136. right="-1"
  137. visible="true">
  138. <text
  139. length="1"
  140. follows="top|left|right"
  141. font="SansSerif"
  142. height="16"
  143. layout="topleft"
  144. left="0"
  145. name="caption_label"
  146. right="-10"
  147. top_pad="0"
  148. type="string">
  149. Caption:
  150. </text>
  151. <text_editor
  152. follows="all"
  153. height="155"
  154. layout="topleft"
  155. left_delta="0"
  156. length="1"
  157. max_length="700"
  158. name="caption"
  159. right="-10"
  160. top_pad="5"
  161. type="string"
  162. word_wrap="true">
  163. </text_editor>
  164. <check_box
  165. follows="left|bottom"
  166. initial_value="true"
  167. label="Include location"
  168. layout="topleft"
  169. left_delta="0"
  170. name="add_location_cb"
  171. top_pad="15" />
  172. </layout_panel>
  173. </layout_stack>
  174. <button
  175. follows="right|bottom"
  176. height="23"
  177. label="Cancel"
  178. layout="topleft"
  179. name="cancel_btn"
  180. right="-32"
  181. top="350"
  182. width="100">
  183. <button.commit_callback
  184. function="PostToProfile.Cancel" />
  185. </button>
  186. <button
  187. follows="right|bottom"
  188. height="23"
  189. label="Post"
  190. layout="topleft"
  191. left_delta="-106"
  192. name="post_btn"
  193. top_delta="0"
  194. width="100">
  195. <button.commit_callback
  196. function="PostToProfile.Send" />
  197. </button>
  198. </panel>