aseprite/data/widgets/canvas_size.xml
David Capello d14a0fe075 Add "Size" options in CanvasSizeCommand to specify width/height
- Added canvas icons to change the expansion direction in CanvasSizeCommand
- Added Widget::at() and Widget::offerCapture() member functions
- Improved ButtonSet widget
2014-09-08 02:27:41 -03:00

54 lines
2.0 KiB
XML

<!-- ASEPRITE -->
<!-- Copyright (C) 2001-2014 by David Capello -->
<gui>
<window text="Canvas Size" id="canvas_size">
<vbox>
<separator text="Size:" left="true" horizontal="true" />
<hbox>
<grid columns="2">
<label text="Width:" />
<entry text="0" id="width" maxsize="32" maxwidth="64" magnet="true" />
<label text="Height:" />
<entry text="0" id="height" maxsize="32" maxwidth="64" />
<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" tooltip="Columns to be added/removed in the left side.&#10;Use a negative number to remove columns." />
<label text="Top:" />
<entry text="0" id="top" maxsize="32" maxwidth="64" tooltip="Rows to be added/removed in the top side.&#10;Use a negative number to remove rows." />
<label text="Right:" />
<entry text="0" id="right" maxsize="32" maxwidth="64" tooltip="Columns to be added/removed in the right side.&#10;Use a negative number to remove columns." />
<label text="Bottom:" />
<entry text="0" id="bottom" maxsize="32" maxwidth="64" tooltip="Rows to be added/removed in the bottom side.&#10;Use a negative number to remove rows." />
</grid>
<separator horizontal="true" />
<hbox>
<boxfiller />
<hbox homogeneous="true">
<button text="&amp;OK" closewindow="true" id="ok" magnet="true" width="60" />
<button text="&amp;Cancel" closewindow="true" />
</hbox>
</hbox>
</vbox>
</window>
</gui>