mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
Remove font scaling based on system DPI
This commit is contained in:
parent
7dab39a2f1
commit
b2e1d8a38c
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ void UIUtil::scaleWidgetFontSizes(QWidget* widget) {
|
|||
// Scale the font further by the system's DPI settings. If using a 2x high-dpi screen
|
||||
// on Windows, for example, the font will be further scaled by: 192.0 / 96.0 = 2.0
|
||||
// This would give a final scale of: 0.75 * 2.0 = 1.5
|
||||
fontScale *= (glCanvas->logicalDpiX() / NATIVE_DPI);
|
||||
// fontScale *= (glCanvas->logicalDpiX() / NATIVE_DPI);
|
||||
|
||||
qDebug() << "Scaling widgets by: " << fontScale;
|
||||
|
||||
|
|
Loading…
Reference in a new issue