Just give us the code. What you have tried?
Just give us the code. What you have tried?
I finally found a solution, after much searching I found this tip for qlabel: In order to be able to scale down as well, you need to add this call: label->setMinimumSize(1, 1)
Before that, when I used qlabel::setpixmap() the pixmap would never scale down anymore, and the resizeevent would always give too large sizes.
Also in the resizeevent I had to use an image with the exact size of that resolution, else it wouldn't display properly.
I don't know if these are a android quirks, I cannot duplicate them on the desktop because there is no resizeevent when you rotate your pc sideways.![]()
Last edited by Cremers; 26th July 2013 at 16:42.
Bookmarks