Adjust Button Shape

Adjust a shape layer according to the attributes of a text layer

v1.0.0 is compatible with Sketch 3.7.0

sketch-adjust-button-shape

A Sketch plugin that adjusts the size of a shape layer according to the width and height of a text layer, plus values that you can input for padding.

Select layers and add padding

Adjust Button Shape

Use text alignment to control re-drawing

Adjust Button Shape Alignment Sensitivity

Installation

Download the zip archive, unpack and open the Adjust Button Shape.sketchplugin.

How to use it

Select one shape layer and one text layer and run the script, either via Plugins > Adjust Button Shape or with the keyboard shortcut Shift + Ctrl + Cmd + Opt + B.

Insert values for the top, right, bottom or left padding of the shape. If you want an already nice looking padding to stay unaltered, leave the input field blank.

Use text alignment — left, right and center — to control how the button is positioned when re-drawn

Change log

2016-05-09 Added text alignment sensitivity when re-drawing the position of the shape layer

Issues, questions and suggestions

File an issue or contact me on Twitter: http://twitter.com/psilfver


Join the discussion

Download v1.0.0
Usage Activity
400100

No Sketchpacks Relay integration found

Stats
  • 52 downloads all–time
  • 0 downloads this week
  • 0 downloads this month
About this plugin

psilfver published this plugin 3y ago.

v1.0.0 is the latest version.

Native updates are supported within Sketch.app.