• 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: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar


  • Subject: Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar
  • From: Jacek Oleksy <email@hidden>
  • Date: Tue, 20 Oct 2015 08:48:01 +0200

On Tue, Oct 20, 2015 at 2:48 AM, Richard Charles <email@hidden> wrote:
>
>> 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.
>

I know that the tool is not the most precise one, but it is enough in
this case (we are talking about 10% difference here!). The height
discrepancy can be easily seen even without any tool, and I am talking
here only about the bright part inside the button, not taking into
account borders & shadows.

BTW - are you on El Capitan? I think it was ok on Yosemite.

/Jacek

_______________________________________________

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


  • Follow-Ups:
    • Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar
      • From: Jens Alfke <email@hidden>
References: 
 >NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar (From: Jacek Oleksy <email@hidden>)
 >Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar (From: Richard Charles <email@hidden>)
 >Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar (From: Jacek Oleksy <email@hidden>)
 >Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar (From: Richard Charles <email@hidden>)
 >Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar (From: Jacek Oleksy <email@hidden>)
 >Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar (From: Richard Charles <email@hidden>)
 >Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar (From: Jacek Oleksy <email@hidden>)
 >Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar (From: Richard Charles <email@hidden>)

  • Prev by Date: Re: Best Advice for accessing App Delegate's Managed Object Context
  • Next by Date: Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar
  • Previous by thread: Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar
  • Next by thread: Re: NSButton with NSTexturedRoundedBezelStyle outside of NSToolbar
  • Index(es):
    • Date
    • Thread