diff options
author | Axel Spoerl <axel.spoerl@qt.io> | 2023-06-01 14:11:45 +0200 |
---|---|---|
committer | Axel Spoerl <axel.spoerl@qt.io> | 2023-06-04 13:51:54 +0000 |
commit | 8a9e3c78694f85582c53c66fd7dbdc7e0e5f4ab3 (patch) | |
tree | 3f9a58cef522d455ffb339449e752f7c6e6748c8 /mkspecs/winphone-x86-msvc2012/qmake.conf | |
parent | 54d8d8055edafcd571fe190eb6077d14a6ff8ce1 (diff) |
When a block is drawn in a text document, drawBlock is checking,
whether the block has a BackgroundBrush property defined. If none is
defined, the color used to draw lines around the block defaults to
QPalette::Dark. This was implemented, assuming a light color scheme.
In a dark color scheme, the lines become hardly or even not visible.
This patch changes the default to Inactive/WindowText of the underlying
QPalette. This provides contrast to the document's text content and
is dark/light sensitive.
Fixes: QTBUG-113990
Pick-to: 6.5
Change-Id: Ie855852f441a0efb11c318c7edb27395151cbcce
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
Diffstat (limited to 'mkspecs/winphone-x86-msvc2012/qmake.conf')
0 files changed, 0 insertions, 0 deletions