diff options
| author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2022-10-13 14:07:13 +0200 |
|---|---|---|
| committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2022-10-27 17:14:51 +0200 |
| commit | a43845b75a3eaed9cb0a323a9694c34a601286fb (patch) | |
| tree | b2cb2a9e388bce6533a0f9cfd596b4ccb569370a /src/corelib/global/qlogging.cpp | |
| parent | 433d7116709d9c34bcef997d83101d102f99048a (diff) | |
QMacStyle: paint PE_PanelScrollArea differently
To make it look more natural (without outline and with proper colors).
Otherwise this thing looks bad in both Aqua and Dark themes -
can be seen if scrollbars always shown (this option is set in "General"
settings).
Tried so far:
- not to draw this element at all - gives a visible hole in the corner
- ask the horizontal bar to render its knob track a bit longer (resetting
a clip properly) - gives a weird side-effect when scrolling in Dark
mode + unfortunately outline of a track is still visible (it overlaps
the vertical bar's track).
Alas, good old hardcoded colors/alpha values as a last resort.
PE_Frame had -1,-1 adjustment, making a frame line visible in the
corner below scrollbars, giving another strange effect.
Fixes: QTBUG-106927
Change-Id: Ie0367c3bd6f40b3fa4ca6afac09f27e446fc007d
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/corelib/global/qlogging.cpp')
0 files changed, 0 insertions, 0 deletions
