Skip to content
Align layers in a group with padding applied
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
align-to-padding.sketchplugin/Contents Update manifest Apr 12, 2019
assets Upload files Apr 11, 2019
src Moved sketchpacks Apr 12, 2019
.appcast.xml Update .appcast with new tag Apr 12, 2019
.gitignore Upload files Apr 11, 2019
.sketchpacks.json Updated sketchpacks Apr 12, 2019
README.md update readme Apr 11, 2019
aligntopadding.gif Upload files Apr 11, 2019
package-lock.json Upload files Apr 11, 2019
package.json Update package.json Apr 16, 2019

README.md

Align To Padding

Align layers in a group with padding applied

align to padding

What does this do?

I got fed up constantly aligning a layer "top" and "left" to a background, only to nudge it 10px back the other way, to apply "padding". So I've created a plugin that would recognise there was padding when aligning layers on a background.

How do I use it?

You need a Group that contains at least two layers (one of them being the background layer). Then simply select the layers you want to align and choose the alignment from the menu. The plugin also has the option to scale the layer to the full width or height of the background.

Shortcuts

⇧⌘↑ = Align top

⇧⌘→ = Align right

⇧⌘↓ = Align bottom

⇧⌘← = Align left

⇧⌘, = Full width

⇧⌘. = Full height

You can’t perform that action at this time.