[PATCH] Try to fix the white font on Windows 7

Lubomir I. Ivanov neolit123 at gmail.com
Wed Oct 7 07:20:18 PDT 2015


On 7 October 2015 at 16:21, Tomaz Canabrava <tcanabrava at kde.org> wrote:
> So..  I think I have a code that can be used for that, it's in the tag
> editor and it tries to select the right colors based on theme. Lubomir, try
> to get that code and see if it works for the texts
>

since i'm out solutions where Qt returns the correct colors, and
didn't really want to use the color adjustment code you pointed out, i
approached the issue with custom drawing of the highlighted background
and skipping the drawControl() call.

it now looks like the small tag color backgrounds (or the
kmessagewidget background).

please, take a look at the recent patch:
[PATCH] modeldelegates.cpp: add custom highlight drawing in location items

if you think this isn't appropriate we can look at color adjustments,
but that can be a bit volatile with values closer to the set
thresholds.

lubomir
--


More information about the subsurface mailing list