Skip to content

Properly align text layers regardless of their rectangle box in Sketch

License

Notifications You must be signed in to change notification settings

bitinn/sketch-text-align

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sketch-text-align

Properly align text layers regardless of their rectangle box in Sketch

demo

Motivation

Because Sketch v3.x still has less than ideal support for font-size and line-height, especially when you are dealing with CJK language (Some say it's a limit of OSX). This plugin allow you to align text as imagined, ignoring those incorrectly calculated text rectangles.

This plugin has been tested on Sketch v3.2 and v3.3 beta

Install

  1. Download ZIP of this repo.
  2. Extract and rename folder to suit your taste.
  3. Put the folder in your Sketch plugin folder (Use Plugins>Reveal Plugins Folder to find it).

Folder name and plugin filename will show up as items in Sketch Plugins menu.

Usage

  1. Select multiple text layers.
  2. Alt + Cmd + L or use Plugins menu.
  3. Follow the dialog prompt.

Note

This plugin does not fix multiline text layer or weird padding issues, it makes aligning multiple text layers much easier instead (so you can avoid wordwrap in Sketch).

License

MIT

About

Properly align text layers regardless of their rectangle box in Sketch

Resources

License

Stars

Watchers

Forks

Packages

No packages published