Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Desktop font size effects swt layout

Hi

I have looked on Google but can not find answer or I can't word it correctly to find it.

When I develop a SWT application my computers desktop font size is set to windows 7 default size.
I use mainly use Form layout with Grid layout for some windows.

My problem is that when the program is run on a windows system and the user has increased the font size of the desktop my layouts are all messed up.
If I go into windows settings and reset the font back to the default size everything looks fine again.

I have tried using setFont on all the widgets but it does not effect this problem.

What can I do about desktop font size being changed from the default?

Thanks
--
AgileMesh, Inc
1761 International Parkway
Suite 113
Richardson, TX, 75081
Phone: 972-231-2122 x 310
Fax: 972-231-2406
www.agilemesh.com

Back to the top