Re: inconsistencies in view renderings

2016-10-20 Thread Quincey Morris
On Oct 20, 2016, at 09:53 , Alan Snyder wrote: > > If you exclude textured controls in the window content area, then my examples > are all moot. Here’s what the HIG has to say about this

Re: inconsistencies in view renderings

2016-10-20 Thread Alan Snyder
If you exclude textured controls in the window content area, then my examples are all moot. Can you tell me how to create a window with a bottom status bar in IB? It seems to depend on some sort of analysis by AppKit. > On Oct 19, 2016, at 8:16 PM, Quincey Morris >

Re: inconsistencies in view renderings

2016-10-19 Thread Quincey Morris
On Oct 19, 2016, at 17:34 , Alan Snyder wrote: > > Do you have a test of a textured button in a textured window that does not > gray out when inactive? (I’m ignoring the fact that textured buttons are not > supposed to be used in the content area.) > > I have

Re: inconsistencies in view renderings

2016-10-19 Thread Alan Snyder
My goal is understanding, and I'm not quite there yet. I tried changing my program to use a textured window, and the textured buttons now gray out when the window is inactive. However, the buttons are not in the toolbar or a bottom margin. At least I don’t think they are in a bottom margin,

Re: inconsistencies in view renderings

2016-10-18 Thread Quincey Morris
On Oct 18, 2016, at 19:43 , Alan Snyder 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

Re: inconsistencies in view renderings

2016-10-18 Thread Alan Snyder
That sounds rather mysterious. What kind of project configuration would affect the display of buttons? 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

Re: inconsistencies in view renderings

2016-10-18 Thread Quincey Morris
On Oct 18, 2016, at 17:58 , Alan Snyder wrote: > > Sounds like you were not using textured rounded buttons, which are the ones > that I wrote about. I tried one of those and one regular button, and the textured rounded didn’t seem to change at all. Note that IIRC

Re: inconsistencies in view renderings

2016-10-18 Thread Alan Snyder
Sounds like you were not using textured rounded buttons, which are the ones that I wrote about. > On Oct 18, 2016, at 1:00 PM, Quincey Morris > wrote: > > On Oct 18, 2016, at 12:17 , Alan Snyder

Re: inconsistencies in view renderings

2016-10-18 Thread Quincey Morris
On Oct 18, 2016, at 12:17 , Alan Snyder wrote: > > The implication is that AppKit is probing the application at unspecified > times with a fake event? Well, I had to try it in a test project. I don’t see *any* difference in appearance in the buttons, with

Re: inconsistencies in view renderings

2016-10-18 Thread Alan Snyder
I was afraid you would say that… The implication is that AppKit is probing the application at unspecified times with a fake event? Nothing in the documentation of acceptsFirstMouse suggests such a thing. I have not found any other API so far. Alan > On Oct 18, 2016, at 9:51 AM, Quincey

Re: inconsistencies in view renderings

2016-10-18 Thread Quincey Morris
On Oct 18, 2016, at 08:00 , Alan Snyder wrote: > > Is the choice to gray or not to gray when inactive under programmer control? IIRC you can control this by the the value of “acceptsFirstMouse”. The NSView default is NO, but NSButton overrides it to return YES. To

Re: inconsistencies in view renderings

2016-10-18 Thread Alan Snyder
Is the choice to gray or not to gray when inactive under programmer control? > On Oct 18, 2016, at 12:08 AM, Quincey Morris > wrote: > > Keep in mind that buttons have *two* kinds of graying these days. One > indicates that the button is disabled. The

Re: inconsistencies in view renderings

2016-10-18 Thread Quincey Morris
On Oct 17, 2016, at 21:16 , Alan Snyder wrote: > > In IB, when the IB window is inactive, the buttons display in a grayed out > fashion. In the actual application, when the application window is inactive, > the button displays do not change. > > What might be

inconsistencies in view renderings

2016-10-17 Thread Alan Snyder
I am not an expert on Interface Builder, so I hope to learn something about how IB simulates the display of views or how IB defined views are constructed at run time. I have a UI that includes textured rounded buttons with text labels. In IB, when the IB window is inactive, the buttons display