aseprite/data/widgets/canvas_size.xml
2024-12-16 10:10:34 -03:00

59 lines
1.9 KiB
XML

<!-- Aseprite -->
<!-- Copyright (C) 2019-2024 Igara Studio S.A. -->
<!-- Copyright (C) 2001-2018 David Capello -->
<gui>
<window id="canvas_size" text="@.title" help="canvas">
<vbox>
<separator text="@.size" left="true" horizontal="true" />
<hbox>
<grid columns="2">
<label text="@.width" />
<expr text="0" id="width" suffix="px" magnet="true" />
<label text="@.height" />
<expr text="0" id="height" suffix="px" />
<hbox filler="true" cell_hspan="2" />
</grid>
<buttonset columns="3" id="dir">
<item icon="canvas_nw" style="dir_item" />
<item icon="canvas_n" style="dir_item" />
<item icon="canvas_ne" style="dir_item" />
<item icon="canvas_w" style="dir_item" />
<item icon="canvas_c" style="dir_item" />
<item icon="canvas_e" style="dir_item" />
<item icon="canvas_sw" style="dir_item" />
<item icon="canvas_s" style="dir_item" />
<item icon="canvas_se" style="dir_item" />
</buttonset>
</hbox>
<separator text="@.borders" left="true" horizontal="true" />
<grid columns="4">
<label text="@.left" />
<expr text="0" id="left" suffix="px" tooltip="@.left_tooltip" />
<label text="@.top" />
<expr text="0" id="top" suffix="px" tooltip="@.top_tooltip" />
<label text="@.right" />
<expr text="0" id="right" suffix="px" tooltip="@.right_tooltip" />
<label text="@.bottom" />
<expr text="0" id="bottom" suffix="px" tooltip="@.bottom_tooltip" />
</grid>
<separator horizontal="true" />
<check id="trim" text="@.trim" tooltip="@.trim_tooltip" />
<separator horizontal="true" />
<hbox>
<boxfiller />
<hbox homogeneous="true">
<button text="@general.ok" closewindow="true" id="ok" magnet="true" minwidth="60" />
<button text="@general.cancel" closewindow="true" />
</hbox>
</hbox>
</vbox>
</window>
</gui>