diff options
| author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2024-08-15 16:06:39 +0200 |
|---|---|---|
| committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2024-08-30 16:50:45 +0200 |
| commit | 2a10a679a17de2f2ec83f676198936fcaaaa8fad (patch) | |
| tree | f413d9b2074e75f3209fa50636c3ac53c6d743c3 /src/corelib/tools/qarraydata.h | |
| parent | 1dd785d10d69b0705f86e1580c058d8cd017798b (diff) | |
QTextEdit::textColor - report the color QTextLayout will use
When 'foreground' in QTextCharFormat has style 'NoBrush', we are
using a different color, compared to what we are reporting as
text color - we use palette from QAbstractTextDocumentLayout::PaintContext.
So, in dark theme, we report the color black and then
paint the text using white color.
Fixes: QTBUG-127090
Change-Id: Ifef996c0867a6d189fffabd59c36136f9335220f
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/corelib/tools/qarraydata.h')
0 files changed, 0 insertions, 0 deletions
