[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Colors of tooltips in themes
From: |
Fred Kiefer |
Subject: |
Re: Colors of tooltips in themes |
Date: |
Sun, 7 Jul 2019 22:06:32 +0200 |
I have added two additional colours to NSColor: toolTipColor and
toolTipTextColor. They now get used in the tool tip display code. The easiest
way to adjust these colours in a theme is by using a colour list in the theme
where these colours are set to the desired values.
Fred
> Am 07.07.2019 um 17:20 schrieb Bertrand Dekoninck
> <bertrand.dekoninck@gmail.com>:
>
>
> Le 07/07/2019 à 17:00, Fred Kiefer a écrit :
>> Currently there is no proper way to set the background colour for tool tips.
>> I just googled for this and found the unofficial method on NSColor
>> toolTipColor. I am going to implement that in GNUstep and after that there
>> will be a value in the colour list for this.
>>
>> Hope this helps,
>> Fred
>>
> Thanks a lot. Nethertheless, the problem I have is not really the background
> color of tooltips : it's perfectly visible on a dark theme. The problem is
> the text color : when the text is white, it can't be read on a light
> background. But I fear a dark tooltip background wouldn't be visible with a
> dark theme.
>
> Bertrand
>
>
>
>>> Am 05.07.2019 um 18:53 schrieb Bertrand Dekoninck
>>> <bertrand.dekoninck@gmail.com>:
>>>
>>> Hi, everyone on the list. Tooltips in GNUstep are displayed with a light
>>> yellow background and TextControlColor in all the themes I've reviewed.
>>> This doesn't work for dark themes like ThinkDark and Sombre, because
>>> TextControlColor is white and not black so the text of the tooltip can't be
>>> read.
>>> I did not find in thematic a way to change this. Has anyone a clue on this,
>>> or should I begin to add some code in Sombre.theme to handle this ?
>>>
>>> Bertrand.
>>>
>>> PS : there are some "code snippets" available in Thematic, but I can't
>>> figure how to use this feature, and it seems to be broken as Thematic
>>> complains not being able to find the "make" program. Is it really
>>> implemented ?
>>>
>>>
>>>
>>> _______________________________________________
>>> Discuss-gnustep mailing list
>>> Discuss-gnustep@gnu.org
>>> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
- Colors of tooltips in themes, Bertrand Dekoninck, 2019/07/05
- Re: Colors of tooltips in themes, Fred Kiefer, 2019/07/07
- Re: Colors of tooltips in themes, Bertrand Dekoninck, 2019/07/07
- Re: Colors of tooltips in themes,
Fred Kiefer <=
- Re: Colors of tooltips in themes, Bertrand Dekoninck, 2019/07/07
- Re: Colors of tooltips in themes, Fred Kiefer, 2019/07/08
- Re: Colors of tooltips in themes, Bertrand Dekoninck, 2019/07/08
- Re: Colors of tooltips in themes, Bertrand Dekoninck, 2019/07/08
- Re: Colors of tooltips in themes, Fred Kiefer, 2019/07/08
- Re: Colors of tooltips in themes, Bertrand Dekoninck, 2019/07/08
- Re: Colors of tooltips in themes, Riccardo Mottola, 2019/07/08