Unsolved Screen Resolution
satyanarayana143 last edited by aha_1980
I am using QFrame setting minimum width 100 it should resize according to Resolution how can i set.
I am setting QApplication::setAttribute(Qt::AA_EnableHighDpiScaling) but it is not working in windows.
SGaist Lifetime Qt Champion last edited by
100px is the same value whether you have a screen in SD, HD or UHD resolution.
For example, if you want your frame to always be at least one third of the screen, then you have to get the resolution of the screen and make its size one third of that.