How to set the minimum width of an element?

Hi!

Does anyone know how to set the minimum width of an element?

I’ll give a little context. In the Penpot user guide, one can find How to create a button example. I want to set the minimum width of the button that was created in this example. How can I do this?

I have tried many ways to get the desired result, but nothing has worked for me.

Hi!
What a pity that no one has answered so far.

It works the same way it worked in Figma before the introduction of this functionality.
You need to embed a line of the desired width into the button. Its width + paddings = the minimum width of the button. It works the same for Flex and Grid Layouts.

1 Like