B4J Question Odd CSS Problem with cursor

keirS

Well-Known Member
Licensed User
Longtime User
shot1.jpg[

All the labels and textfields have "fx-cursor: hand;" in the Extra CSS property in the visual designer.
The top two work and the cursor changes to a hand when it goes over the node. The bottom two nodes don't work and the cursor remains the default pointer. I can't work out why it would behave this way.

Project with the layout is attached.
 

Attachments

  • Cursor Label Problem.zip
    15.6 KB · Views: 305

stevel05

Expert
Licensed User
Longtime User
The bottom two fields are missing the leading "-" from the css command, it should be "-fx-cursor: hand;"
 
Upvote 0

keirS

Well-Known Member
Licensed User
Longtime User
Thanks for that. Not sure why I didn't spot that whilst staring at it for a couple of hours!
 
Upvote 0
Top