Re: inconsistencies in view renderings
Re: inconsistencies in view renderings
- Subject: Re: inconsistencies in view renderings
- From: Quincey Morris <email@hidden>
- Date: Tue, 18 Oct 2016 20:53:37 -0700
- Feedback-id: 167118m:167118agrif8a:167118s6cPytxj6s:SMTPCORP
On Oct 18, 2016, at 19:43 , Alan Snyder <email@hidden> wrote:
>
> Well, try this on Sierra:
>
> Use the Open File… menu item of Safari to open a dialog. Then activate a different application. On my system, the Cancel button in the dialog grays out (although it still looks different than the disabled Open button). Now click the Cancel button. Even though the button is grayed out, on my system the dialog is dismissed.
Yup, that works as you say. Guess why? (You won’t like the answer.)
The buttons change appearance when they’re in a window margin at the bottom of an inactive window (and, I would expect, when they’re in a toolbar at the top). If they’re in the body of the window, they don’t change.
I’ve lost track of what the point is here. Apparently there is no programmatic way to control to inactive appearance, and “acceptsFirstResponder” only affects the inactive behavior. Is there something you were trying to do that you couldn’t, or was it only about explaining the apparent inconsistency?
_______________________________________________
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