Skip to main content
Solved

Is there a way to align individual items inside an autolayout?

  • December 17, 2022
  • 2 replies
  • 2021 views

Marcelo_Cavalcanti

Hey, guys!

I created this card (left) using autolayout and then duplicate to make the other one (right).
But, as you can see, the right one has a bigger title than the left one. But i want all the items to be align from the top (if this make sense) and i cannot find a way to do so.

Can i have some help here, please??
Thanks in advance!

(i also accept suggestions to improve the layout if there is no way to do what i want to do)

Best answer by jessie1

You can set the textbox of the title to a fixed size (height/width). But why would you use auto layout for this if you * don’t * want elements to resize? In this case, it would make sense (at least for me) to make a regular frame and pin the title to the top left, make an autolayout of the list, pinned top left as well, and the link in the bottom pinned bottom left…

View original
This topic has been closed for comments

2 replies

jessie1
  • Active Member
  • 20 replies
  • Answer
  • December 17, 2022

You can set the textbox of the title to a fixed size (height/width). But why would you use auto layout for this if you * don’t * want elements to resize? In this case, it would make sense (at least for me) to make a regular frame and pin the title to the top left, make an autolayout of the list, pinned top left as well, and the link in the bottom pinned bottom left…


Marcelo_Cavalcanti

Hey, Jessie!

Thanks for the reply!
Yes, as i read your comment, i realized that my approach was a bit wrong (i mean, using autolayout for this, wasn’t the best way… 😵‍💫). It makes more sense now! Haha!

Again, thanks for the help! 🤘


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