PageRenderTime 26ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

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

https://bitbucket.org/lindenlab/viewer-beta/
XML | 86 lines | 75 code | 3 blank | 8 comment | 0 complexity | 3f2a192488426c8897403ca7a096e667 MD5 | raw file
Possible License(s): LGPL-2.1
  1. <?xml version="1.0" encoding="utf-8" standalone="yes"?>
  2. <!-- All our XML is utf-8 encoded. -->
  3. <!-- Don't remove floater's height! It is needed for Overflow and Start-Up toasts!-->
  4. <!--
  5. This floater is invisible. To make toast look like a floater we render wrapper_panel
  6. like a floater(draw shadows and so on). This is done with one purpose - make close button
  7. look like it is positioned out of floater and able to accept mouse clicks (see EXT-4246)
  8. -->
  9. <floater
  10. open_positioning="none"
  11. legacy_header_height="0"
  12. header_height="0"
  13. name="toast"
  14. title=""
  15. visible="false"
  16. layout="topleft"
  17. height="47"
  18. width="310"
  19. left="0"
  20. top="0"
  21. background_visible="false"
  22. bg_opaque_image="Toast_Over"
  23. bg_alpha_image="Toast_Background"
  24. can_minimize="false"
  25. can_tear_off="false"
  26. can_resize="false"
  27. can_drag_on_left="false"
  28. can_close="false"
  29. can_dock="false"
  30. border_visible = "false"
  31. border = "false"
  32. >
  33. <panel
  34. background_opaque="false"
  35. border_visible="false"
  36. background_visible="true"
  37. bg_opaque_image="Toast_Over"
  38. bg_alpha_image="Toast_Background"
  39. label="wrapper_panel"
  40. layout="topleft"
  41. left="0"
  42. name="wrapper_panel"
  43. top="7"
  44. height="40"
  45. follows="all"
  46. translate="false"
  47. width="305">
  48. <!-- Don't remove this wiget! It is needed for Overflow and Start-Up toasts!-->
  49. <text
  50. clip_partial="true"
  51. visible="false"
  52. follows="left|top|right|bottom"
  53. font="SansSerif"
  54. height="20"
  55. layout="topleft"
  56. left="20"
  57. name="toast_text"
  58. word_wrap="true"
  59. text_color="white"
  60. top="5"
  61. translate="false"
  62. use_ellipses="true"
  63. width="260">
  64. Toast text;
  65. </text>
  66. </panel>
  67. <button
  68. layout="topleft"
  69. top="0"
  70. right="310"
  71. width="17"
  72. height="17"
  73. follows="top|right"
  74. visible="false"
  75. enabled="true"
  76. mouse_opaque="false"
  77. name="hide_btn"
  78. label=""
  79. tab_stop="false"
  80. image_unselected="Toast_CloseBtn"
  81. image_selected="Toast_CloseBtn"
  82. />
  83. </floater>