Reputation: 55
i want to button width = 1
but current image red button : Gray button
2 : 1 how draw buttons -> 1 : 1
Upvotes: 0
Views: 54
Reputation: 757
Use this constraints
Button 2(right): add [right,and bottom constraint]
update frame is any warning by selecting buttons constraint issue
Upvotes: 1
Reputation: 3526
if you want height and width equal for both items use these constants :-
Upvotes: 1
Reputation: 75
i don't really know what you want, but if you want two buttons like this picture,here is the answer. add constraints to left button like this left button constraints
all you need to do is add margin between two buttons and make them equal width.
sorry i cant post more than 2 links.
Upvotes: 1
Reputation: 11
Upvotes: 1