Skip to main content
Cory2
June 13, 2024
Question

Horizontal Padding not being applied in autolayout

  • June 13, 2024
  • 5 replies
  • 1009 views

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.

This topic has been closed for replies.

5 replies

Gleb
Power Member
June 13, 2024

the layers inside need to be set to fill

Cory2
Cory2Author
June 14, 2024

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

Gleb
Power Member
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
New Member
March 13, 2025

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

 

Rafa.lima
New Member
July 7, 2025

It’s not the fill. In your auto layout settings the width is set to “fixed”, you must switch to “hug” as the height.