Forum > QT

Qt5 HiDPI canvas scaled

(1/1)

zamtmn:
Hi!
How can I disable HiDPI scaling for a specific canvas? The entire GUI scales correctly according to the settings, but I don't need to do this for drawing area canvas. But both coordinates and line width are scaled.
Look at the attached screenshots of qt5scaled.png and opengl.png, the designation of the coordinate axis is drawn in the same coordinates, but for qt5 it is shifted and stretched. Also on qt5.png vs qt4.png you can see how the line width on fonts are scaled

zeljko:
Lazarus version ? OS ?

zamtmn:
Lazarus 2.3.0 (rev main-2_3-1702-ge47c69672b) FPC 3.3.1 x86_64-linux-qt5

KDE neon 5.26
KDE Plasma: 5.26.0
KDE Frameworks: 5.99.0
Qt: 5.15.6
5.8.0-55-generic (64)
X11
16 × Intel® Core™ i9-9900K CPU @ 3.60GHz
31,3 GB RAM
Quadro M5000/PCIe/SSE2

Navigation

[0] Message Index

Go to full version