diff options
author | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2020-09-10 17:20:21 +0300 |
---|---|---|
committer | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2020-09-16 09:45:13 +0300 |
commit | 913c7ea16f961a8f5688734cd12d00fbeaa5d48c (patch) | |
tree | 8cd9c58233ea51ffddbcfc2f879f78a6da17cb15 /src/libs/installer/fileutils.cpp | |
parent | 244b3c4e92f0909085d5068d5a8c04137068c06b (diff) |
Fix image aspect ratio not preserved when resizing window
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>
Diffstat (limited to 'src/libs/installer/fileutils.cpp')
0 files changed, 0 insertions, 0 deletions