On Thu, 1 May 2025 22:08:46 GMT, Ziad El Midaoui <zelmida...@openjdk.org> wrote:

> The issue was happening because `-fx-highlight-text-fill` was set to white , 
> so when the background color is bright (>60% brightness ) the text is not 
> visible , the solution is to change the value to be dynamically set depending 
> on the level of brightness of the background this is done by 
> `-fx-focused-text-base-color` .

This pull request has now been integrated.

Changeset: bffc32bf
Author:    Ziad El Midaoui <zelmida...@openjdk.org>
Committer: Kevin Rushforth <k...@openjdk.org>
URL:       
https://git.openjdk.org/jfx/commit/bffc32bfef9b48478382180beefdb84f2b8651c6
Stats:     140 lines in 2 files changed: 139 ins; 0 del; 1 mod

8355012: JavaFX modena.css -fx-highlight-text-fill bug

Reviewed-by: angorya, kcr

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

PR: https://git.openjdk.org/jfx/pull/1801

Reply via email to