|How to specify default fonts in an RCP app [message #507392]
||Wed, 13 January 2010 10:53
| Peter Kullmann
Registered: July 2009
Hi, I'm trying to change some of the default fonts in our rcp app: For |
example "org.eclipse.jface.dialogfont" (aka JFaceResources.DIALOG_FONT).
How can I ship our application with a different default dialog font?
I have tried this:
In plugin_customization.ini having an entry like this works:
But the format for the value seems to be undocumented (if not, can you
give me a pointer?). Is it safe to use it? How can I set different fonts
for different platforms?
Is it better (or even possible) to use code (in
WorkbenchAdvisor.preStartup() for example) to set the defaults?
Is there a way to define these fonts through extension points? I have
looked at the org.eclipse.ui.themes extension point but do not
understand how to overwrite a definition from another plugin.
Thanks for any help
Powered by FUDForum
. Page generated in 0.28607 seconds