summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/aspectratiolabel.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix image aspect ratio not preserved when resizing windowArttu Tarkiainen2020-09-161-0/+98
As this is not currently possible using only QLabel, subclass it with a new AspectRatioLabel class to provide the functionality. This should be usable also on other places where we need scaling with aspect ratio maintaining. Task-number: QTIFW-1944 Change-Id: I32147b2b487573bb054fcf66b09eb3f8a0350ccd Reviewed-by: Katja Marttila <katja.marttila@qt.io>