Re: System Preferences doesn't wrap long name (Workaround)
Re: System Preferences doesn't wrap long name (Workaround)
- Subject: Re: System Preferences doesn't wrap long name (Workaround)
- From: Stefan Kreutter <email@hidden>
- Date: Mon, 21 Jan 2002 12:50:53 +0100
Same problem here... but after some testing it seems that you have to
completely remove the previous installed PrefPane from disk.
I usually do a 'pbxbuild install DSTROOT=""' which installs the PrefPane
to ~/Library/PreferencePanes. But before that I have to remove the
PrefPane from this location: 'sudo rm -rf
~/Library/PreferencePanes/MYPrefs.prefPane' - then the lable sould show
up.
After doing a diff on an updated and a fresh PrefPane FileMerge claims
that there are no differences in the bundles.
A little strange - isn't it?
-Stefan
On Sunday, January 20, 2002, at 08:30 AM, bbpan wrote:
I create a preference pane with a long name, LongNamePreference.
It is the only "other" preference pane loaded. The text under the icon
on the left side got cut off by the System Preferences window.
According
to Inside Mac OS X: Preference Panes, I should create NSPrefPanIconLabel
for the label name which can have "\n" to split a long name between two
lines. I added NSPrefPaneIconLabel, but it didn't work. The name was
not splitted into two lines. Is this a known bug? I also
looked into the existing pref pane, i.e., Software Update and Universal
Access. There isn't NSPrefPaneIconLabel in Info.plist but there is
CFBundleName. The names are simply separated by space instead
of "\n". I tried that in my pref pane and it didn't work neither. So
does
anyone know how to resolve this problem?
Thanks.
_______________________________________________
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.