: Combine a text field with a shape in Sketch - Auto re-size shape Is it possible to combine a text field with a shape in Sketch whereby the shape will auto expand to accommodate the text
Is it possible to combine a text field with a shape in Sketch whereby the shape will auto expand to accommodate the text length?
More posts by @Correia448
2 Comments
Sorted by latest first Latest Oldest Best
Aside from plugins, the only workaround would be to duplicate the text layer, convert one of them to outlines and hide the other.
This way you still have a backup to change text if you really need to.
The outlines will scale, but the hidden text won't.
Sketch doesn't have this functionality built-in by default, but there are two very similar plug-ins that offer it:
Dynamic button
Compo
I've been using Dynamic button for quite a while, but recently switched to Compo, as it offers greater control in setting margins (e.g. it's possible to keep an element fixed to a certain side of a component).
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.