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
Post a Comment