<!-- Aseprite -->
<!-- Copyright (C) 2001-2016 by David Capello -->
<gui>
 <window id="canvas_size" text="@.title">
  <vbox>
    <separator text="@.size" left="true" horizontal="true" />
    <hbox>
      <grid columns="2">
        <label text="@.width" />
        <entry text="0" id="width" maxsize="32" maxwidth="64" suffix="px" magnet="true" />
        <label text="@.height" />
        <entry text="0" id="height" maxsize="32" maxwidth="64" suffix="px" />
        <hbox filler="true" cell_hspan="2" />
      </grid>
      <buttonset columns="3" id="dir">
        <item icon="canvas_nw" />
        <item icon="canvas_n" />
        <item icon="canvas_ne" />
        <item icon="canvas_w" />
        <item icon="canvas_c" />
        <item icon="canvas_e" />
        <item icon="canvas_sw" />
        <item icon="canvas_s" />
        <item icon="canvas_se" />
      </buttonset>
    </hbox>

    <separator text="@.borders" left="true" horizontal="true" />
    <grid columns="4">
      <label text="@.left" />
      <entry text="0" id="left" maxsize="32" maxwidth="64" suffix="px" tooltip="@.left_tooltip" />

      <label text="@.top" />
      <entry text="0" id="top" maxsize="32" maxwidth="64" suffix="px" tooltip="@.top_tooltip" />

      <label text="@.right" />
      <entry text="0" id="right" maxsize="32" maxwidth="64" suffix="px" tooltip="@.right_tooltip" />

      <label text="@.bottom" />
      <entry text="0" id="bottom" maxsize="32" maxwidth="64" suffix="px" tooltip="@.bottom_tooltip" />
    </grid>

    <separator horizontal="true" />
    <hbox>
      <boxfiller />
      <hbox homogeneous="true">
        <button text="@general.ok" closewindow="true" id="ok" magnet="true" width="60" />
        <button text="@general.cancel" closewindow="true" />
      </hbox>
    </hbox>
  </vbox>
 </window>
</gui>
