diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2020-10-09 09:42:25 +0200 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2020-10-19 11:42:40 +0200 |
commit | 917f7ceb9fda6f5e54658d2588358635d5dfbb85 (patch) | |
tree | a0f5109b647ecd4325ccaf0f2f57608425c4b540 /src/imports/nativestyle/items/qquickstyleitemslider.cpp | |
parent | 5506dc44afbef14f27cb180afe9c388728be7e82 (diff) |
Native style, macOS: don't draw a background behind the GroupBox label
On macOS, the controls are semi-transparent. This means
that if you use a different color for e.g the window
background, all the controls will get a different
color too.
For this reason, we should avoid drawing a background
color for the GroupBox label. And to achieve that, we
need to override the default background set from
DefaultGroupBox, to use an Item instead of a Rectangle.
Change-Id: I60c496c19744763adb2ec683670c4a9c64cc32fa
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/nativestyle/items/qquickstyleitemslider.cpp')
0 files changed, 0 insertions, 0 deletions