Skip to content
This plugin will resize a layer by height or width to a base max or min value.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
set-min-max.sketchplugin/Contents update icon May 1, 2019
src
.appcast.xml Update .appcast with new tag Apr 27, 2019
.gitignore
README.md update readme May 2, 2019
package-lock.json First commit Apr 27, 2019
package.json update package.json Apr 30, 2019

README.md

Set min max icon

Set Min Max

What does this do?

This plugin will resize a layer by height or width to a base max or min value.

Max-height example

max-height

Min-height example

min-height

Why is this useful?

Maybe you have a list of text inputs that shouldn't go above a max-width

Usage

Select the layers and run the plugin. You have the options to define the:

  • Max height
  • Min height
  • Max width
  • Min width

Tip

Like in Sketch's width and height panel, the plugin lets you change the anchor point, rather than use the default top, left.

  • To transform from the bottom, input the desired value plus "b"

  • To transform from the right, input the desired value plus "r"

lock-to-bottom

You can’t perform that action at this time.