<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>HiDPI monitors are giving me a headache, can someone help?</p>
<p>A user of my software has an 8k monitor at his laptop. Because
all software became illegibly small, he sat scaling to 200% (which
suggest that all his software, not just PyQt, has problems
handling HiDPI monitors ;-))</p>
<p>But now my software looks strangely inconsistent:</p>
<p><img src="cid:part1.8E2D6ADC.96B48478@urkam.de" alt=""></p>
<p>All button text has become illegible.</p>
<p>But the red text on the left (a QTextEdit()) is proper, and so is
the text in the light-yellow field above it (a QLineEdit().</p>
<p>However, the QLineEdit() "Time min" on the right side is
distorted. Is it relevant that this unlike the left one does NOT
have an explicit stylesheet set?</p>
<p>Is there anything I can do inside Py3/PyQt5 do remedy the
situation or at least improve it?</p>
<p>I know there is this command: <b>"QApplication.setAttribute(Qt.AA_EnableHighDpiScaling,
True)" </b>which in the above example is NOT active. It does't
seem to do anything good on a FullHD screen, except when using a
Raspi with FullHD, where it distorts the display big time. So I
took it out. <br>
</p>
<p>I can't test a HiDPI screen at the moment. What benefit
would/might it have in this situation? Anything else to do?</p>
<p>ullix</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
</body>
</html>