Skip to content

juliussohn/sketch-textbox-fit-content

Repository files navigation

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