DPI problems
Solved
General and Desktop
-
Hi! My application has issues with high DPI monitors.
I have set
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true);
function, but it doesn't work. Some text is not fully visible or is not adaptive to high DPI. On standard 96 DPI (100% scale) everything works normal.
Any suggestions how to fix this issue? Thanks. -
Did you place your texts in layouts ?
-
This post is deleted!
-
When you do not use layouts, the text area remains the same under any resolution
and that means that the scaling of font will be clipped as the area is not adjusted.
So if there is not a layout to adjust the actual widget area (client area) then you must do it manually. -
Super. Thank you for reporting back.