Commit cec15a89 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

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: default avatarAlessandro Portale <alessandro.portale@theqtcompany.com>
parent 5fb2dcea
Branches
Tags
No related merge requests found
Showing with 5 additions and 3 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment