Skip to content

Plugin for Sketch 3 - Use one layer or the artboard as a template to resize other layers

License

Notifications You must be signed in to change notification settings

AntonStrand/Sketch-Resize

Repository files navigation

Sketch-Resize

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.

Features

  • 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.

How to install it

First of all you need to have Sketch 3 installed.

Use Sketch Toolbox (recommended)

Use Sketch Toolbox to search for Sketch Resize and click install.

Install manually

  1. Download the latest release and open it
  2. Navigate to the Sketch menu bar to Plugins ▸ Reveal Plugins Folder
  3. Place the directory into the revealed plugins directory

How to use it

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

License

Sketch Resize is released under the MIT license. See LICENSE for details.

About

Plugin for Sketch 3 - Use one layer or the artboard as a template to resize other layers

Resources

License

Stars

Watchers

Forks

Packages

No packages published