Eclipse PDE on Mac OS X: Getting the correct font size at runtime?

There's an annoying "feature" when using Eclipse PDE on Mac OS X: the font size of the runtime IDE is not the same as the true IDE. If you're developing a plug-in and you launch an Eclipse instance to test it (from within Eclipse), you will notice that the spawned instance looks very different from the original running Eclipse instance. The fonts are big and ugly. This makes it hard to fine-tune the plug-in UI.

BTW, I did not encounter that behavior of Windows.

Any ideas how to quickly solve this issue?



Found the answer.

You need to add the following VM argument to your launch configuration: -Dorg.eclipse.swt.internal.carbon.smallFonts

I opened a defect about it. Hopefully it will be fixed.

Need Your Help

Unable To Pass Context From Main Activity to AsyncTask to Display AlertDialog - Android / Java

java android constructor android-asynctask android-context

I'm attempting to display an alertDialog using onPostExecute / AsyncTask (it it's own class outside my however I'm getting an error stating "The constructor

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.