diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-09-12 17:05:10 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-09-15 11:32:09 +0200 |
commit | 757a9c21c18faad5573308d8dd85428a4519ac7d (patch) | |
tree | 0217c3d10710bb415736279766548570816feaf9 /examples/gui | |
parent | aaa7ab5222dee55cbd8c1bf180f8928888492a6b (diff) |
QStyleSheetStyle: Fix push button hit testing with padding
Amends f9940b15f7f0fde731431626172939b9821fd660, which
amended 6e1d70ae12baae4610356ec7b69635ad75a97b4e.
The bevel of the button is not defined by the contentsRect, but by the
borderRect that the stylesheet style calculates.
Change-Id: I9a0d5bf29a06ce2270014f0d144e33cc3a1a7473
Pick-to: 5.15
Fixes: QTBUG-86587
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'examples/gui')
0 files changed, 0 insertions, 0 deletions