Re: Disable "Show Fonts..." menu item?
Re: Disable "Show Fonts..." menu item?
- Subject: Re: Disable "Show Fonts..." menu item?
- From: Mike Abdullah <email@hidden>
- Date: Fri, 26 May 2006 10:42:34 +0100
I would expect it to have no effect and preferably be greyed out.
The font panel "floats." The user can simply leave it open the whole
time if they like. It just may not have any effect on what they
currently have selected.
Mike.
On 24 May 2006, at 21:04PM, Todd Ransom wrote:
If you are in a text view and you press cmd-t and the Font Panel
pops up, what do you expect it to do when you change the font?
Todd Ransom
Return Self Software
http://returnself.com
On May 24, 2006, at 1:33 PM, Mike Abdullah wrote:
I'm not sure you'd want to. If you think about it, the user could
bring the Font panel up from a text field that does allow it and
then just move to editing this other text view. So logically,
there is no point in disabling the menu at any time.
Mike.
On 24 May 2006, at 19:52PM, Todd Ransom wrote:
Is there any way to disable the "Show Fonts..." menu item for a
particular text view? The menu item is hooked up to the shared
NSFontManager instance so I cannot override validateMenuItem:. So
even though I have setUsesFontPanel: NO for my text view my users
don't use that and pressing cmd-t shows a font panel that does
not work. As a matter of fact, you will notice that you can pop
up the font panel at any time in any Cocoa that has this menu
item, even though in many cases it does nothing.
Is there any way to disable this menu item short of hooking it up
to First Responder and dealing with it on a case by case basis?
Todd Ransom
Return Self Software
http://returnself.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden