ios - Is there a fast way (keyboard shortcut, etc...) to auto adjust button size to match image size using storyboards? -


when add image button, have @ image widht , height, interface builder , set button width , height match image.

is there key shortcut or set width , height of button automatically match of image?

this question regarding storyboards in xcode specifically.

im aware can done in code, not asking that...

in interface builder use menu editor/size fit content. shortcut cmd+=.

you need button selected. if option greyed out, deselect, , reselect button again.


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -