Skip to main content
Question

Horizontal Padding not being applied in autolayout


Cory2

I’m taking a Figma class and in the video there are 2 things regarding ‘horizontal padding’ that are inconsistent with how my design is acting compared to the instructors.

  1. In the top left I can’t select the ‘Distribute horizontal spacing’
  2. When I add horizontal padding to a group of components, it shifts them to the right, while and doesn’t add the correct padding on the left and right side of the cards which should push them 24 pixels inside of the parent frame.

4 replies

Gleb
  • Power Member
  • 4706 replies
  • June 13, 2024

the layers inside need to be set to fill


Cory2
  • Author
  • 1 reply
  • June 14, 2024

As in the individual components/cards that make up the card stack?


Gleb
  • Power Member
  • 4706 replies
  • June 14, 2024

I guess so. Whatever is inside of the currently selected frame on your screenshot and all the layers further in the hierarchy.


Lorenzo Mecugni

Hi guys, what do you mean “layers inside need to be set to fill”?

same issue here .. vertical padding works just fine, horizontal padding instead pushes my text boxes to the right ..

help please, thank you

 


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