← Back to team overview

kicad-developers team mailing list archive

Re: New log widged - bacground trouble

 

On 6/26/2015 8:42 AM, Tomasz Wlostowski wrote:
> On 26.06.2015 14:36, Wayne Stambaugh wrote:
>> On 6/26/2015 8:24 AM, Tomasz Wlostowski wrote:
>>> On 26.06.2015 14:05, LordBlick wrote:
>>>> Can I find out who carried out the attack on my eyes with the white
>>>> background? 😜
>>> Dawid,
>>>
>>> I did. Feel free to send us a patch which changes the colors the way you
>>> like. We'll accept it as long as I'm still able to work with white
>>> background.
>>>
>>
>> Is this a result of us forcing the background to white and not
>> respecting the user's color preferences or is this wxWidgets behavior?
>> LordBlick, before this change was the netlist status text control
>> background white or the background color you set in your environment?
>> If it wasn't white, then the new status widget is broken.
> Hi Wayne,
> 
> It uses HTML to render the report - so when we generate the HTML we need
> to take the system background color into account separately. I'm
> wondering if the DRC report widget takes it into account.
> 
> Tom
> 

That's probably it.  LordBlick, is the background of the DRC and ERC
report widgets white on your system?  If so then I'm not sure what the
best solution would be.  I guess we could use
wxSystemSettings::GetColour() to fetch the wxSYS_COLOUR_WINDOW color and
set the HTML widget background color accordingly but it may make the
colored text difficult to see.



Follow ups

References