Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Or insert a line break' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Or insert a line break
Authored by: mithras on Sep 11, '02 02:57:08PM

You can also insert the text: \\n
into the preference panel name. This inserts a line break when it appears in System Preferences, which can make a short, wide name into a friendlier tall, skinny name.

Really the developers should be doing this for us...



[ Reply to This | # ]
The REAL fix
Authored by: Iyad on Dec 22, '02 01:53:54AM

Adding \\n did not work. So I ventured to find out how "Software Update" and "Universal Access" manage to wrap their names. The answer is simple:
- Open "InfoPlist.strings" with Property List editor as described above
- From the Edit menu, choose "Show Strings as ASCII". This will replace symbols with unicode values
- Click on "New Sibling" button and name the new property exactly "NSPrefPanelIconLabel"
- Set the value of the new property to "Microsoft\\U000AKeyboard" or "Microsoft\\U000AMouse"
- Save, delete the prefs cache as described above, and you're done. Now the names will wrap as they should.

This is a great web site, I looked everywhere for info about this before coming here and learning about the need to delete the cache file.



[ Reply to This | # ]