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
#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
- Download the latest release and open it
- Navigate the Sketch menu bar to
Plugins ▸ Reveal Plugins Folder
- 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.
#Feedback
If you discover any issues or have questions regarding usage, please send a message to lkiral7903@gmail.com