Skip to main content

Minimum width for horizontal hug


mohammedibrahim

Our design team is working on a count badge component, and we would like to have it hug the number inside, however for the number 1, the hug is causing a width that is smaller than the height. Would you consider adding a minimum width/height feature when using the resizing feature?

This topic has been closed for replies.

3 replies

JackieChui
Figmate
  • Figmate
  • 28 replies
  • June 21, 2023

Hi Mohammed! You can add min/max starting today!

https://twitter.com/figma/status/1671564318813601792?s=46&t=5gwlnf9cPZUFPdqkZpV_kQ

Try refreshing your file and see if the new controls show up for you!


mohammedibrahim

Incredible! 🙂 Was this just a huge coincidence that I asked about it yesterday, or did you all add the feature in 3 hours lol


  • 0 replies
  • September 20, 2023

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings