• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: push button bounds are bigger than I'd expected...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: push button bounds are bigger than I'd expected...


  • Subject: Re: push button bounds are bigger than I'd expected...
  • From: Lee Ann Rucker <email@hidden>
  • Date: Thu, 06 Mar 2014 14:54:54 -0800

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@hidden)

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:

This email sent to email@hidden


References: 
 >push button bounds are bigger than I'd expected... (From: Sean McBride <email@hidden>)

  • Prev by Date: push button bounds are bigger than I'd expected...
  • Next by Date: Re: Class name as NSString and problem with NSLog?
  • Previous by thread: push button bounds are bigger than I'd expected...
  • Next by thread: Re: information about provisioning and code signing - in code
  • Index(es):
    • Date
    • Thread