-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
What did you do?
The GUI do not supports fractional scaling, like 150%.
fractional scaling support is available since Qt5.14,needs these codes in main function (since Qt6, codes below is not required):
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true);
// fractional scaling support since Qt5.14 (needn't invoke this since Qt6)
QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);
What did you expect to see?
The Application displays properly in 150% scaling monitor, and auto re-scale when I drag it to another monitor with different scaling.
What did you see instead?
DB4S Version
3.13.1
What OS are you seeing the problem on?
Windows
OS version
Windows 11
Relevant log output
Prevention against duplicate issues
- I have searched for similar issues