Left:
Top:
Width:
Height:

Example of commands

Maximize

Minimize

alignTo('nw')

alignTo('n')

alignTo('ne')

alignTo('w')

alignTo('e')

alignTo('sw')

alignTo('s')

alignTo('se')

alignTo('vcenter')

alignTo('hcenter')

Pressing the shift key while resizing will preserve ratio