On Fri, 18 Dec 2020 23:36:27 GMT, Phil Race <p...@openjdk.org> wrote:

>>> So why would this API return the wrong colour ?
>> 
>> That method used in the last version returns the color which is not the 
>> color of the tabpane. It is a similar color in some cases, but not always.
>
> So I think we need to hard code the most accurate colour we can and yet 
> somehow take into account dark mode to the same extent we are doing with 
> other components.
> I can imagine a clever scheme which tries to derive something that is at 
> least a reasonable contrast - we've done
> with GTK3 but at least let's get a fix for what the problem is today.

I have tested the 1st version (lightGray) in both light and dark theme (along 
with -Dapple.awt.application.appearance=system) and it is legible in both 
cases. So, I guess, till we have the reply from Apple, we can consider this fix.

-------------

PR: https://git.openjdk.java.net/jdk/pull/1182

Reply via email to