I have a problem using autolayout with uibutton. What I want is make a button's image and its title 10 points gap, and image is on the right,while title is on the left.What should I do to achieve that? Appreciate for any suggestion!
Asked
Active
Viewed 716 times
3
-
You can set edge inset for button image and title in attribute inspector. – Christeena John Dec 11 '14 at 05:13
-
question is the button's width and height are not fixed, they are changed decided by button's super view,which would turn it to a mess – John Dec 11 '14 at 10:04