Skip to content

juliussohn/sketch-textbox-fit-content

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

Textbox fit Content - Sketch Plugin

This plugin sets the height of a selected text layer or all text layers in a selected group to it's content's height.

Plugin preview

Usage

Select a text layer or a group containing text layers.

To remove whitespace and linebreaks on the beginning and end of the text:

Select Plugins > Textbox fit Content > Trim and fit text or press + Shift+F

To keep all whitespace and linebreaks on the beginning and end of the text:

Select Plugins > Textbox fit Content > Fit text or press +alt+Shift+F

To automatically make the textbox fit it's content height when the text changes enable the auto-fit mode:

Select Plugins > Textbox fit Content > Toggle auto-fit text or press +ctrl+Shift+F

Changelog

1.4.0

[Fixed] Run auto fit after the text box has been resized.

1.3.0

[New] Auto fit mode: Automatically adjust text box size when it's content changes

1.2.0

[Fixed] > 48.1 compatibilty

[New] Plugin update Support

About

Set the height of a selected text layer or all text layers in a selected group to it's content's height.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published