Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar
Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar
- Subject: Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar
- From: Richard Charles <email@hidden>
- Date: Mon, 19 Oct 2015 18:48:07 -0600
> On Oct 19, 2015, at 1:08 AM, Jacek Oleksy <email@hidden> wrote:
>
> I double checked it (I use the screenshot mechanism, it displays the
> size of selection rectangle), and it is 24 on my toolbar (and also
> e.g. on the toolbar in Finder).
I measured the height of the View segmented control in the Finder toolbar. It is 22 points high not including the shadow at the bottom. This measurement was done using the Pixie application which is part of the Xcode Graphics Tools supplied by Apple.
If you are examining the points or pixels of a control you should use the Pixie application. It is like using a surgical knife with a microscope. It has preferences for magnification factor, development mode, grid, mouse hot-spot, mouse coordinates, and colors.
Doing something similar with a screen shot would be like using a butter knife with poor eye sight. You can do it but it is not the best tool in the toolbox.
--Richard Charles
_______________________________________________
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