ios - "Size to Fit content" in Interface Builder only works sometimes? -


"size fit content" in interface builder works sometimes?

how come? 2 seemingly exact button, different images (from asset catalog), 1 of them can autoresized while other cannot; size fit content greyed out 1 of them.

update: 2nd button time, restarted xcode , magically works... normal?

the menu option greyed out if item has been sized fit.

if want test this, change content width or height. deselect , reselect item (the menu seems update when select item) check menu item. no longer greyed out.


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -