Skip to main content
Question

Is there a way to set different spacing in Auto layout?

  • September 2, 2023
  • 5 replies
  • 2875 views

Cyril_hzx

in the image, it shows two spacing with the arrows, I’d like to set different numbers for the two spacings, but it seems like when the numbers are changing, the two spacings will change together and they always stay in the same width/length, can I set them individually?
iShot_2023-09-02_04.30.44

This topic has been closed for replies.

5 replies

Pavel_Kiselev
  • Power Member
  • 438 replies
  • September 2, 2023

Nope, you cannot


IraX
  • Active Member
  • 145 replies
  • September 2, 2023

This should become possible, because we’re currently wrapping elements in additional auto layout containers to apply the appropriate spacing between two child elements and that is just wrong. I’ve seen this mentioned quite a few times previously.


Cyril_hzx
  • Author
  • 5 replies
  • September 2, 2023

😭thanks, i thought there are ways


Cyril_hzx
  • Author
  • 5 replies
  • September 2, 2023

yep, i also hope this can be realistic


Pavel_Kiselev
  • Power Member
  • 438 replies
  • September 3, 2023

Or you can make a spacer component and stick it in between other elements.


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