This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
Need to change font for all controls in an eclipse RCP application
posted 5 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?