[Interest] How do I get a QMenu to react to text size changes on Window's High DPI displays
david.garcia at aimsun.com
Wed Jan 2 23:09:10 CET 2019
I did some extra tests and seems that is a bug.
If you start Qt Creator at 200% all is fine. Going back and forth between
100% to 200% works. If you start Qt Creator at 100% then it fails.
I have filled a bug report: https://bugreports.qt.io/browse/QTBUG-72823
From: Elvis Stansvik <elvstone at gmail.com>
Sent: Wednesday, January 2, 2019 10:12 PM
To: David Garcia <david.garcia at aimsun.com>
Cc: interest at qt-project.org Interest <interest at qt-project.org>
Subject: Re: [Interest] How do I get a QMenu to react to text size changes
on Window's High DPI displays
Den ons 2 jan. 2019 kl 17:16 skrev David Garcia <david.garcia at aimsun.com>:
> I’m having the same issue as reported in this stack overflow question:
> In Windows, when changing the display scale from 100% to 200%, the
> QMenuBar items are updated with a new font size but the layout is not. Qt
> Creator does it right so seems that is not a Qt bug. Any idea?
Just chiming in to say I've noticed this as well and always thought it was a
Qt bug. It was on my personal TODO to look up whether it was reported and if
not, report it. Interesting to hear that Qt Creator behaves correctly (I
hadn't tried it).
I believe (can't quite remember) I've seen similar issues with scroll bars
not adapting fully to runtime changes in the Windows screen scaling options.
> Interest mailing list
> Interest at qt-project.org
More information about the Interest