diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-01-27 11:04:14 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-02-01 17:48:37 +0100 |
commit | e56b8e1e59b6df7c7abd48b163abe6846849eb7a (patch) | |
tree | 4ddabe9efcebf8eb4a8e9b2f296c748753a3e064 /util | |
parent | 0c8ff269dcda7de68c475535d575c0bb34af788b (diff) |
QWindowsXPStyle: Fix MDI button size for maximized QMdiSubWindows
The controls as drawn by the UxTheme library are too tiny; add an
additional correction factor to
QWindowsXPStylePrivate::drawBackgroundThruNativeBuffer(), allowing
to scale the result via the QImage.
For the MDI button size, calulcate the factor by comparing the
theme size to the subcontrol rectangle.
Fixes: QTBUG-75927
Change-Id: Iab0911b51d13f3de0d9278a32cb4598ce709d745
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: André de la Rocha <andre.rocha@qt.io>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions