Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to control unfocused state in javafx css?

 
Volodymyr Lysenko
Ranch Hand
Posts: 512
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic