summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en/floater_preview_texture.xml
blob: 2957cbd3a788e1649fcb5b26febb695f22adec3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<floater
 legacy_header_height="18"
 can_resize="true"
 height="350"
 layout="topleft"
 min_height="200"
 min_width="370"
 name="preview_texture"
 help_topic="preview_texture"
 width="370">
   <floater.string
     name="Title">
        Texture: [NAME]
    </floater.string>
    <floater.string
     name="Copy">
        Copy To Inventory
    </floater.string>
    <layout_stack
     animate="false"
     name="preview_stack"
     top_pad="15"
     left="0"
     follows="all"
     orientation="vertical"
     height="350"
     width="370"
     layout="topleft">
      <layout_panel
        name="texture_panel"
        height="305"
        top_pad="0"
        left="0"
        follows="left|top"
        layout="topleft">
          <text
           type="string"
           length="1"
           follows="left|top"
           font="SansSerif"
           height="19"
           layout="topleft"
           left="10"
           name="desc txt"
           top="6"
           width="90">
              Description:
          </text>
          <line_editor
           border_style="line"
           border_thickness="1"
           follows="left|top|right"
           font="SansSerif"
           height="19"
           layout="topleft"
           left_pad="0"
           max_length_bytes="127"
           name="desc"
           width="190" />
          <text
           type="string"
           halign="right"
           length="1"
           follows="right|bottom"
           height="16"
           layout="topleft"
           left="110"
           name="dimensions"
           bottom="-40"
           width="200">
              [WIDTH]px x [HEIGHT]px
          </text>
          <text
           type="string"
           halign="right"
           length="1"
           follows="right|bottom"
           height="16"
           layout="topleft"
           left_delta="-110"
           name="aspect_ratio"
           top_pad="5"
           width="200">
              Preview aspect ratio
          </text>
          <combo_box
           allow_text_entry="true" 
           top_delta="-3" 
           follows="right|bottom" 
           height="23"
           left_pad="10"
           max_chars="20"
           mouse_opaque="true"
           enabled="true"
           width="108"
           name="combo_aspect_ratio"
           tool_tip="Preview at a fixed aspect ratio">
	      </combo_box>
      </layout_panel>
      <layout_panel
        name="buttons_panel"
        height="45"
        bottom="-40"
        left="0"
        follows="right|bottom"
        auto_resize="false"
        layout="topleft">
        <button
         follows="right|bottom"
         height="22"
         label="OK"
         layout="topleft"
         left="6"
         name="Keep"
         top_pad="0"
         width="110" />
        <button
         follows="right|bottom"
         height="22"
         label="Discard"
         layout="topleft"
         left_pad="5"
         name="Discard"
         top_delta="0"
         width="110" />
        <button
         follows="right|bottom"
         height="22"
         label="Save As"
         layout="topleft"
         left_pad="5"
         name="save_tex_btn"
         top_delta="0"
         width="110" />
      </layout_panel>
    </layout_stack>
</floater>