如何让文字图层在草图上自动调整宽度
how to make text layer auto adjust width on sketch
我创建了一个文本层,默认它的宽度只是响应内容,但是现在,我调整它的宽度,或者它所属的组,那么它的宽度会像下面这样增长。
现在,我必须手动减小它的宽度。
如何让它缩小宽度以自动响应其实际内容宽度,或者任何插件都可以帮助我?
Auto vs Fixed
The width property (under Alignment) can be set to either Auto or
Fixed. When it is set to Auto, the text box’s width will expand as
wide as possible to fit the text you entered. When it is set to Fixed,
it’ll wrap the text to the width set in the layer properties and place
your text onto a new line instead.
(强调我的)
我创建了一个文本层,默认它的宽度只是响应内容,但是现在,我调整它的宽度,或者它所属的组,那么它的宽度会像下面这样增长。
现在,我必须手动减小它的宽度。
如何让它缩小宽度以自动响应其实际内容宽度,或者任何插件都可以帮助我?
Auto vs Fixed
The width property (under Alignment) can be set to either Auto or Fixed. When it is set to Auto, the text box’s width will expand as wide as possible to fit the text you entered. When it is set to Fixed, it’ll wrap the text to the width set in the layer properties and place your text onto a new line instead.
(强调我的)