diff options
author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2019-01-11 10:37:46 +0100 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2019-01-16 06:20:02 +0000 |
commit | 8961493b4036af018842820238c4eda0c0717e64 (patch) | |
tree | 904552da32894457452e22566e8157e49a0f7491 /src/gui/kernel | |
parent | a7fa2618e4c8f10927a01d415d96ee783cf4348d (diff) |
QMacStyle - take into account that native controls are transparent now
We use NSButton to emulate tabs in QTabWidget. Starting from 10.14
in dark theme those button objects tend to be somewhat transparent,
thus widget's frame is visible through tab buttons. This is true for
native controls also - NSButton, NSSegmentedControl, NSTabView - they
all show the similar behavior. The only difference is NSTabView, which
is the closest control to our QTabWidget - tab buttons are transparent,
but they (AppKit) it would appear just do not draw the frame under
this area. Let's do the same, but using clipping.
Task-number: QTBUG-71741
Change-Id: I9f19014d0db5f36bacf76ee0068fae6eee793c0f
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/gui/kernel')
0 files changed, 0 insertions, 0 deletions