> This fixes a `TextInputControl` styling issue where prompt text is hidden > when an empty text input control receives focus. > The fix removes the focused-state override `-fx-prompt-text-fill: > transparent;` so focused empty text inputs continue to use the normal Modena > prompt text fill. > The prompt text now stay visible when a text input control is focused. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Ziad El Midaoui has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains eight additional commits since the last revision: - Merge branch 'openjdk:master' into 8385959.TextInputControlPrompt - Removed Application.setUserAgentStylesheet - Added new getPromptNode() method to TextInputSkinShim - Remove unecessary space line - Minor change to parameters - Added Test to verify prompt text is visible - Merge branch 'openjdk:master' into 8385959.TextInputControlPrompt - Fix prompt text disappearing on focus in TextInputControls ------------- Changes: - all: https://git.openjdk.org/jfx/pull/2184/files - new: https://git.openjdk.org/jfx/pull/2184/files/edf8e8f9..efa6db09 Webrevs: - full: https://webrevs.openjdk.org/?repo=jfx&pr=2184&range=05 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=2184&range=04-05 Stats: 28353 lines in 293 files changed: 12934 ins; 2956 del; 12463 mod Patch: https://git.openjdk.org/jfx/pull/2184.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/2184/head:pull/2184 PR: https://git.openjdk.org/jfx/pull/2184
