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