Skip to content
forked from LucienLee/AlignTo

Plugin that align layer relative to more options for Bohemian Coding's Sketch 3

Notifications You must be signed in to change notification settings

timuric/AlignTo

 
 

Repository files navigation

Align To

Plugin that align object relative to more options for Bohemian Coding's Sketch 3. It provides that align relative to key object in Sketch 3.

Because original align function in Sketch only provide that align to a selection and an Artboard, this plugin port illustrator's function of align to key objects.

#DEMO Video

demo

#Feature

  • Align left relative to key object
  • Align right relative to key object
  • Align top relative to key object
  • Align bottom relative to key object
  • Align horzonial center relative to key object
  • Align vertical center relative to key object

#Installation

###Intall by Sketch Toolbox (recommended) Use Sketch Toobox to search AlignTo and click install.

###Install manually

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

#How to use

Select all layers you want to align, then select Plugins ▸ AlignTo in the Sketch menu bar. Next, select align method and which layer as key layer.

###Keyboard Shortcut

  • Align left relative to key object: CMD + Option + Ctrl + l
  • Align right relative to key object: CMD + Option + Ctrl + r
  • Align top relative to key object: CMD + Option + Ctrl + t
  • Align bottom relative to key object: CMD + Option + Ctrl + b
  • Align horzonial center relative to key object: CMD + Option + Ctrl + h
  • Align vertical center relative to key object: CMD + Option + Ctrl + v
  • Align vertical and horzonial center relative to key object: CMD + Option + Ctrl + a

###Change Shortcut Open AlignTo directory, then open any *.sketchplugin file with text editor. Change shortcut you want in the first line.

change shortcut

#Feedback

If you discover any issues or have questions regarding usage, please send a message to lkiral7903@gmail.com

About

Plugin that align layer relative to more options for Bohemian Coding's Sketch 3

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%