-
Font size int OS
I use a diffrent fonts/font sizes and styles in software. It all works unless somebody would not change OS font size.
For example in Windows 7 or Vista
Right Click on DeSctop => Personalization => Display.
Thehe are 3 options:
Smaller
Medium
Larger
So if I change it from Smaller to Medium application looks differentlly. Is there any way to ignore such OS settinng in QT application.
How do you deal with such issue?
I'm new at UI programming... So do not know much.:)
Thank you!
-
Re: Font size int OS
If you use layouts properly and doesn't pre-assume any font size then everything should work as expected. In situations when you need to take the size of the font into account for custom things you do, you can use QFontMetrics to calculate space needed to render some text using the current font.