Advertisement


Combine a text field with a shape in Sketch - Auto re-size shape


Question

Is it possible to combine a text field with a shape in Sketch whereby the shape will auto expand to accommodate the text length?

enter image description here

2016/08/04
1
5
8/4/2016 8:59:00 AM

Sketch doesn't have this functionality built-in by default, but there are two very similar plug-ins that offer it:

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).

2016/08/04
2
8/4/2016 8:17:00 AM