grantbj74
7th August 2013, 06:39
Hi,
In Windows 7 (and others) you can set the display text size appearance to Smaller(default), Medium and Larger.
I've written my application to suit Smaller appearance. If a user changes to Larger appearance, most buttons, checkboxes etc text don't fit.
Is there a way to make the text fit the same for all display text size appearances?
I have tried collecting the following for larger and smaller:
spinbox1->setValue( QApplication::font().pointSize() ); // result was 8 for Smaller and Larger.
spinbox2->setValue( QApplication::font().pixelSize() ); // result was -1 for Smaller and Larger.
Both gave the same results :(
Thanks in advance
Brendan
In Windows 7 (and others) you can set the display text size appearance to Smaller(default), Medium and Larger.
I've written my application to suit Smaller appearance. If a user changes to Larger appearance, most buttons, checkboxes etc text don't fit.
Is there a way to make the text fit the same for all display text size appearances?
I have tried collecting the following for larger and smaller:
spinbox1->setValue( QApplication::font().pointSize() ); // result was 8 for Smaller and Larger.
spinbox2->setValue( QApplication::font().pixelSize() ); // result was -1 for Smaller and Larger.
Both gave the same results :(
Thanks in advance
Brendan