summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qwidget.cpp
diff options
context:
space:
mode:
authorAndre de la Rocha <andre.rocha@qt.io>2019-06-04 18:30:17 +0200
committerAndre de la Rocha <andre.rocha@qt.io>2019-07-05 11:56:34 +0200
commita4718f1274b62eb1a8e633a5d5cc0c6e22024c11 (patch)
tree5b251974abaeaeafc95a93073e1076f85a932e2a /src/widgets/kernel/qwidget.cpp
parent78caba7ae637bf4b33631c3425eb92ec3946c99e (diff)
Fix the appearance of QSpinBox arrows on high-DPI displays
A previous change to QLineEdit::sizeHint() has caused the QSpinBox arrows to break the widget frame on a high-DPI display with some particular scale values like 150 or 175%. This change updates QLineEdit::sizeHint() so that it has a minimum height, using the same values used in 5.11. Fixes: QTBUG-76047 Change-Id: I21f3e736da473b10fdf52e5a60e5fc5d07f270a1 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/widgets/kernel/qwidget.cpp')
0 files changed, 0 insertions, 0 deletions