<!-- Aseprite -->
<!-- Copyright (C) 2001-2017 by David Capello -->
<gui>
  <window id="export_sprite_sheet" text="@.title">
  <grid columns="4">
    <label text="@.sheet_type" />
    <combobox id="sheet_type" cell_hspan="3" />

    <label id="columns_label" text="@.columns" />
    <entry id="columns" text="" maxsize="4" />
    <boxfiller cell_hspan="2" />

    <label id="rows_label" text="@.rows" />
    <entry id="rows" text="" maxsize="4" />
    <boxfiller cell_hspan="2" />

    <hbox />
    <vbox>
      <check id="padding_enabled" text="@.padding" />
    </vbox>
    <grid columns="2" id="padding_container" cell_hspan="2">
      <label text="@.border" />
      <entry id="border_padding" text="0" maxsize="4" />
      <label text="@.shape" />
      <entry id="shape_padding" text="0" maxsize="4" />
      <label text="@.inner" />
      <entry id="inner_padding" text="0" maxsize="4" />
    </grid>

    <label id="fit_width_label" text="@.width" />
    <combobox id="fit_width" text="" maxsize="5" editable="true" />
    <label id="fit_height_label" text="@.height" />
    <combobox id="fit_height" text="" maxsize="5" editable="true" />

    <hbox id="best_fit_filler" />
    <check cell_hspan="3" id="best_fit" text="@.best_fit" />

    <label text="@.layers" />
    <combobox id="layers" text="" cell_hspan="3" />

    <label text="@.frames" />
    <combobox id="frames" text="" cell_hspan="3" />

    <check id="image_enabled" text="@.output_file" />
    <button id="image_filename" cell_hspan="3" />

    <check id="data_enabled" text="@.json_data" />
    <button id="data_filename" cell_hspan="3" />

    <hbox />
    <hbox id="data_meta" cell_hspan="3">
      <combobox id="data_format">
        <listitem text="@.json_data_hash" value="0" />
        <listitem text="@.json_data_array" value="1" />
      </combobox>
      <label text="@.meta" />
      <check id="list_layers" text="@.meta_layers" />
      <check id="list_tags" text="@.meta_frame_tags" />
      <check id="list_slices" text="@.meta_slices" />
    </hbox>

    <check id="open_generated" text="@.open_sprite_sheet" cell_hspan="4" />

    <hbox cell_hspan="4">
      <boxfiller />
      <hbox homogeneous="true">
        <button text="@.export" minwidth="60" id="export_button" magnet="true" />
        <button text="@.cancel" minwidth="60" closewindow="true" />
      </hbox>
    </hbox>
  </grid>
  </window>
</gui>
