diff options
author | Andy Shaw <andy.shaw@digia.com> | 2015-01-12 21:08:13 +0100 |
---|---|---|
committer | Andy Shaw <andy.shaw@digia.com> | 2015-01-19 10:44:48 +0100 |
commit | 730d07df831435d41d40152d5ecec5dea2658042 (patch) | |
tree | 0f8b902a4aa78696bfa6fd269cb83318c61984f2 /util | |
parent | 17cce246487ca8a9b2d1999bfdbbb3b368b44177 (diff) |
Account for pixmap's device pixel ratio when calculating the label size
When determining the size of the QPushButton's label then the device
pixel ratio of the pixmap used to represent the icon needs to be taken
into consideration so it is rendered correctly.
Change-Id: If32760b120d7a749a51e2c30592d621c0e63dace
Reviewed-by: Pierre Rossi <pierre.rossi@theqtcompany.com>
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions