sshahine / JFoenix

JavaFX Material Design Library
MIT License
6.27k stars 1.05k forks source link

Losing .jfx-time-picker effects upon using .label on my CSS #1153

Open KenobySky opened 3 years ago

KenobySky commented 3 years ago

Greetings. Ive been workign on this problem for hours and I finally decided to make a topic because im stuck.

The issue is that, I use a .label on my css, as follows:

.label { -fx-text-fill: white; }

Upon doing that, the time picker pop-up, no longer shows which time period "AM or PM" is selected, no longer shows which time "hours or minutes" is selected. It simply doesnt highlight which item is selected.

Removing that single line, solves it but I can't do it for obvious reasons.

How Can I make the Time picker work again?

The screenshots below shows what happens to each situation.

A) Situation/ISSUE ( WITH .label { -fx-text-fill: white;) :
issue

B) Removing .label issue2