• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to control unfocused state in javafx css?

 
Volodymyr Lysenko
Ranch Hand
Posts: 511
1
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!

I have TreeCell which has css selector connectionTreeCell. If I want to set particular color when TreeCell is selected I use:
connectionTreeCell:selected

But I want to set particular color when TreeCell lost focus.

By default when TreeCell loses focus its text color changes to white.

How to override this behaviour?

Thanks!
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic