B4J Question How do I change button color?

Jim Marquardt

New Member
Is there a simple way to change my button colors in Scene Builder? I am a little new to all of this so my apologies for teh newbie question.

JIm

Edit: I think I posted this in the wrong area and I do not know how to move the thread my apologies
 

derez

Expert
Licensed User
Longtime User
In style put "-fx-background-color: Yellow;" or "-fx-background-color: #FFAAAA;" where the each pair of hex letters is the rgb parameter of the clolor.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…