Skip to main content

Launched: Negative padding values in Auto Layout


Ian_Palmgren

Starting a new thread hoping for negative padding values in Auto Layout. Negative values between objects was launched today (5/10/22) as a feature but you still can’t have negative padding values yet. The previous top thread for this was marked as “Launched”, so starting a new thread to re-capture this ask.

This topic has been closed for comments

4 replies

Ab_Denizel

I don’t know if this is the right place to write it down but the negative padding doesn’t work for me if let’s say for example I have 2 frames one inside another.
The outer frame is set to “fixed” and the inner frames are set to “fill”


Dylan_Parks

What we really need in these scenarios is a negative margin that would wrap around the padding of our objects. This could probably be reserved to somewhere in the “Advanced” section of the auto layout panel, but this would solve a lot of the issues where we can’t replicate what developers have in code due to not having margins.

Here’s how it’s implemented in Webflow which explains what the differences are. In code there’s both padding AND margin.


Ian_Palmgren
  • Author
  • New Member
  • 19 replies
  • May 13, 2022

Yes! Love Webflow’s approach here. If you’re designing for the web you absolutely should understand what padding and margin are, but do agree with layering it into an “advanced” section or something.


  • 0 replies
  • August 11, 2022

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