Skip to main content
Question

Auto layout minimum padding


Hazel

I want the left & right padding I set in an auto layout frame to work as minimum padding, meaning when I resize the component (a button) horizontally, it would keep this padding intact no matter what. Currently this doesn’t happen and the text imposes on the area that is meant to be padding. Am I missing something here, is there a way around this?

3 replies

ntfromchicago

If your text frame is set to vertically expand, it shouldn’t overlap the padded area.


Hazel
  • Author
  • 11 replies
  • June 10, 2022

Please can you or someone else explain how to achieve this? Thanks.


ntfromchicago

I think I can help you if you can take a screen shot of/better describe the thing you’re trying to achieve. After reading your original post, I’m not sure what you’re hoping to happen to the text as it resizes, e.g. truncated vs. go to multiple lines.

My guess is that you want the text to vertically expand as it resizes, so I’ve selected the middle icon for resizing properties in the right panel (the icon between the two-sided arrow and the square).


Reply


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