Re: focus ring around button
Re: focus ring around button
- Subject: Re: focus ring around button
- From: Glen Simmons <email@hidden>
- Date: Tue, 17 Feb 2004 08:31:35 -0600
I definitely would *not* assume that one particular app from Apple
completely follows the HIG, especially a utility like the Installer.
There are numerous examples of Apple apps bending (or sometimes
completely breaking) the HIG.
Anyway, you seem to be assuming that your users are going to see this
focus ring and think "Oh, I can press Option-Enter instead of
clicking." I doubt it. As far as I know, Option-Enter is not a standard
key sequence for what you describe. So, in my opinion you should leave
the button alone and let your users click the button unless they happen
to know about the Option-Enter.
Glen
On Feb 17, 2004, at 7:14 AM, Ruben Smits wrote:
The textfield has the focus, implemented with IB defaults. (Kind of
shadow, not blue)
What I ment was to draw a blue focusring around the button, to
indicate this will act on the <ALT-ENTER> as default button.
Since Apple is using it in the OSX-installer, I guess we might assume
this is according to Aqua HIG.
Your suggestion would be to keep the OK-button "normal gray", without
any special indication of the behavior?
On 17 feb 2004, at 14:02, Alastair Houghton wrote:
On 17 Feb 2004, at 12:50, Ruben Smits wrote:
I guess you're right about the path around buttons, this might be
hard to find out. :-(
I have a panel in my application with a textField, and an OK-button
to dismiss the panel. So this is a kind of default button.
However, when user presses <ENTER>, the textField is firstResponder
and a "newline" is inserted. I would like to keep this behavior.
When user presses <ALT+ENTER>, OSX preforms the action of the
default button, in my case the OK-button.
So, since the default button does not react on the <ENTER> but does
react on the <ALT+ENTER>, it seems fair to draw a focusring for the
button, instead of displaying the default button in blue.
In the OSX installer there's a focusring for the OK-button, but as I
understand from you there's no option in the framework yet?
Not that I've seen. That doesn't mean that there isn't a way to do
it, just that I don't know how either :-)
I'm not 100% certain that it's an appropriate way to highlight the
button in any case; the text field has the focus, so should have a
focus ring. Making the button have a focus ring as well would be
confusing, I think. Probably against the Apple HIG as well.
Kind regards,
Alastair.
-----------
Ruben
-----------
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.