diff options
author | Jan Arve Sæther <jan-arve.saether@qt.io> | 2020-11-05 16:54:12 +0100 |
---|---|---|
committer | Jan Arve Sæther <jan-arve.saether@qt.io> | 2020-11-06 08:33:15 +0100 |
commit | 75be525dc02ea0c2d6f4e0c07392451d2a43a3a1 (patch) | |
tree | a8244800a6753f0319f983c91dfe479a78e32256 /examples | |
parent | 3e5c7d1bc39be85c339af5347f538416b453517b (diff) |
Native style/GroupBox: Add contentsMargins for GroupBox on Windows
QWindowsStyle did not add these margins because the layout did that.
(It had a 9 pixel margin all around it)
However, Qt Quick Controls2 expects that the contentPadding includes
that margin. We therefore change the subControlRect implementation
for (CC_GroupBox,SC_GroupBoxContents) to add those margins.
Change-Id: I953a49340dc085716b4e9ecf736a5438e7cc4bbd
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions