Need to change font for all controls in an eclipse RCP application
posted 6 years ago
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?