how to set responsive on large screen resolutions
-
I set the Horizontal layout and vertical layout correctly and set the maximum and minimum on the label, PushButton, LineEdit so that it is not too small or large, but on a windows tablet with a small screen and a large screen resolution all of that is messed up, the label font is too big than the button and the maximum minimum set doesn't seem to work, how do I solve this?
-
What Qt version do you use?
-
What Qt version do you use?
@Christian-Ehrlicher the latest version of QT 5
-
So either upgrade to a recent Qt6 version where high-dpi support is highly improved or try to play around with QT_SCALE_FACTOR and Qt::AA_EnableHighDpiScaling: https://doc.qt.io/qt-5/highdpi.html