File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need to change font for all controls in an eclipse RCP application

 
kamalakannan kamal
Ranch Hand
Posts: 32
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

We are using an eclipse RCP application. In this application we didn’t use any specific font for the controls (like label, button etc,). So by default all control uses font specified in the underlying OS. Currently the application runs in XP os where the default font size is 8 and application looks fine. In future we are planning to move to Windows 7 machine where the default font size is 9. When we tested our application in Windows 7 machine there are some alignment issues, some buttons does not have full text content and text is missing in some labels. Since we are using large number of controls in our application we can’t set font for each and every controls now. Is there any easy solution for this problem? Is there any way where we can specify font for all controls which uses default font?

Thanks & Regards,
G. Kamal
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic