<?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>