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