N
N
Neron2017-12-01 19:18:38
User interface
Neron, 2017-12-01 19:18:38

How to make a rubber button with text in Figma?

Here is such a programmatic, called Figma: www.figma.com
You need to create a regular button (colored plate + text on top of it), with such an unusual property, it seems, that damn it is not written anywhere in Google how to do it: you need the width of the plate corresponded to the width of the text (with given indents, of course). Automatically.
How?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Timushkin, 2017-12-07
@symbiotic

Do you want to type different text into the button and have it stretch or shrink depending on the size of the text?

A
Andrey, 2020-10-04
@Andrey_PSK

Can. AutoLayout If suddenly someone googles)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question