This feature has now been implemented in Sketch
A Sketch 3 plugin made to make every designers life a bit easier.
Dynamically change the width and height of one or more objects using the largest layer as a template or select only one layer and scale the layer to fit the artboard. Think of it as the align tool but instead of changing the position you'll change the width and height of your layers.
- Change the height to fit another layer or the current artboard.
- Use another layer or the current artboard as a template but you can set a size difference value for the height.
- Change the width to fit another layer or the current artboard.
- Use another layer or the current artboard as a template but you can set a size difference value for the width.
- Change both the width and height at the same time.
- Once again add difference in the size.
First of all you need to have Sketch 3 installed.
Use Sketch Toolbox to search for Sketch Resize
and click install.
- Download the latest release and open it
- Navigate to the Sketch menu bar to
Plugins ▸ Reveal Plugins Folder
- Place the directory into the revealed plugins directory
To use the artboard as the template you have to select only one layer. Otherwise you need to select at least two layers.
Shortcuts:
ctrl alt y
to set the height.ctrl alt shift y
to set the height with a size difference.ctrl alt x
to set the width.ctrl alt shift x
to set the width with a size difference.ctrl alt b
to set both the height and width.ctrl alt shift b
to set both the height and width with a size difference.
Or go to Plugins ▸ Sketch Resize
Sketch Resize is released under the MIT license. See LICENSE for details.