diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2016-04-08 14:11:48 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2016-04-19 20:26:24 +0000 |
commit | cec15a89d058424794978910cc8da65b43d71606 (patch) | |
tree | 87ca76e3bfdeb723ddb1f68c27f1e7e814b5e96c /dist | |
parent | 5fb2dceab46ede44346a192a9f270b2bb002b5a5 (diff) |
QWindowsXPStyle: Enlarge QLineEdit/QComboBox when High DPI scaling is active.
In QWindowsXPStyle::sizeFromContents(), scale the margins using the
devicePixelRatio and round the height up. Typically increases
the height by 2 pixels when the device pixel ratio equals 2.
Change-Id: I446ad518c3808a6454a08db7b66a942d37c1703f
Task-number: QTBUG-49374
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions