I'm trying to set up some constraints inside a view via storyboard (im not a fan of contrasting via code). My main goal is kinda simple, but tricky : How can i align 3 buttons by PERCENTAGE using Multiplier inside a view?
Example : What do we see? 3 buttons inside a view. The left button is 10% from the view width(from his left side). The second one is centered , and the third one is 10% from the right side.
What am i trying to do?
I want to accomplish this using only Horizontal Center in Container and Vertical Center in Container through their Multiplier
What have i done so far?
Until now i tried using trailing and leading spaces constraints, the problem is that its not relative to the view size. Any suggestions guys? I'm trying to figure this out for the last few days.
Aucun commentaire:
Enregistrer un commentaire