PageRenderTime 23ms CodeModel.GetById 10ms RepoModel.GetById 0ms app.codeStats 0ms

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

https://bitbucket.org/lindenlab/viewer-beta/
XML | 114 lines | 114 code | 0 blank | 0 comment | 0 complexity | f3830d9e9a9f52be4312341ef7cbee7b MD5 | raw file
Possible License(s): LGPL-2.1
  1. <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
  2. <floater
  3. can_close="true"
  4. can_dock="false"
  5. can_minimize="false"
  6. can_resize="false"
  7. default_tab_group="1"
  8. height="375"
  9. help_topic="toybox"
  10. layout="topleft"
  11. legacy_header_height="18"
  12. name="Toybox"
  13. open_positioning="centered"
  14. save_rect="true"
  15. single_instance="true"
  16. title="TOOLBAR BUTTONS"
  17. width="650">
  18. <text
  19. follows="left|top"
  20. font="SansSerifMedium"
  21. valign="bottom"
  22. halign="left"
  23. height="20"
  24. layout="topleft"
  25. left="20"
  26. length="1"
  27. name="toybox label 1"
  28. right="-20"
  29. top="35"
  30. type="string">
  31. Add or remove buttons by dragging them to or from the toolbars.
  32. </text>
  33. <text
  34. follows="left|top"
  35. font="SansSerifMedium"
  36. valign="bottom"
  37. halign="left"
  38. height="20"
  39. layout="topleft"
  40. left="20"
  41. length="1"
  42. name="toybox label 2"
  43. right="-20"
  44. top="55"
  45. type="string">
  46. Buttons will appear as shown or as icon-only depending on each toolbar's settings.
  47. </text>
  48. <toolbar
  49. bottom="310"
  50. button_display_mode="icons_with_text"
  51. follows="all"
  52. left="20"
  53. button_icon_and_text.button_width.max="140"
  54. button_icon_and_text.button_width.min="70"
  55. name="toybox_toolbar"
  56. pad_left="5"
  57. pad_right="5"
  58. pad_top="5"
  59. pad_bottom="5"
  60. pad_between="15"
  61. read_only="true"
  62. right="-20"
  63. side="top"
  64. top="85">
  65. <button_panel background_visible="false" />
  66. <button_icon_and_text image_unselected="PushButton_Off"
  67. image_selected="PushButton_Off"
  68. image_disabled_selected="PushButton_Disabled"
  69. image_disabled="PushButton_Disabled"
  70. label_color="ButtonLabelColor"
  71. label_color_selected="ButtonLabelColor"
  72. label_color_disabled="ButtonLabelDisabledColor"
  73. label_color_disabled_selected="ButtonLabelDisabledColor"
  74. image_color="ButtonImageColor"
  75. image_color_disabled="ButtonImageColor"
  76. flash_color="ButtonUnselectedFgColor"
  77. halign="left"
  78. hover_glow_amount="0.15"
  79. sound_flags="0"
  80. display_pressed_state="false" />
  81. </toolbar>
  82. <panel
  83. bevel_style="none"
  84. border="true"
  85. bottom="311"
  86. follows="left|bottom|right"
  87. left="20"
  88. right="-20"
  89. top="311" />
  90. <button
  91. follows="left|bottom|right"
  92. height="23"
  93. label="Clear all toolbars"
  94. label_selected="Clear all toolbars"
  95. layout="topleft"
  96. left="185"
  97. name="btn_clear_all"
  98. top="330"
  99. width="130">
  100. <button.commit_callback function="Toybox.ClearAll" />
  101. </button>
  102. <button
  103. follows="left|bottom|right"
  104. height="23"
  105. label="Restore defaults"
  106. label_selected="Restore defaults"
  107. layout="topleft"
  108. left="335"
  109. name="btn_restore_defaults"
  110. top="330"
  111. width="130">
  112. <button.commit_callback function="Toybox.RestoreDefaults" />
  113. </button>
  114. </floater>