On Mar 6, 2014, at 2:37 PM, Sean McBride wrote: > Hi all, > > In Interface Builder, if I turn on Editor > Canvas > Show Bounds Rectangles > then it shows blue rectangles representing views' bounds rectangles (I > suppose). I notice for push buttons that this blue rectangle is not where I > expect it, it's not tight around the visual appearance of the push button, > but outset by several pixels. Is that normal? Why is this so?
It's space for the focus ring. That's why Autolayout talks about alignment rectangles instead of frames: https://developer.apple.com/library/ios/documentation/userexperience/conceptual/AutolayoutPG/ImplementingView/ImplementingView.html#//apple_ref/doc/uid/TP40010853-CH16-SW4 _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
