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?

(I got to this question investigating a weird bug where a custom NSView of mine 
was getting into mouseDragged: and mouseUp: *without* first getting into 
mouseDown:, something I thought should never happen, but I've seen in this 
list's archives that other have seen this in some weirdo situations.  In my 
case, I can reproduce it if my custom NSView has subviews that have push 
buttons and the user clicks just outside the visual edge of the push button but 
within the blue rectangle area that IB draws.)

Thanks,

-- 
____________________________________________________________
Sean McBride, B. Eng                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to