Lemur Button style in groovy

Hey guys,
i was wondering what the correct way is to change the color of the button if i hover over it currently it is yellow which i believe is the standard color.
My style.groovy looks like this currently:

selector("button", "doom") {
    background = gradient.clone()
    background.setColor(color(0.96, 0.38, 0.27, 1))
    color = color(0.85, 0.62, 0.49, 0.85)
    insets = new Insets3f(5, 5, 5, 5);
    font = font("Interface/Fonts/doom2016big.fnt")
    
    buttonCommands = stdButtonCommands;
}

So far i have tried to add hover = color(1,1,1,1) and hoverColor = color(...).

highlighColor

http://jmonkeyengine-contributions.github.io/Lemur/javadoc/Lemur/com/simsilica/lemur/Button.html#setHighlightColor-com.jme3.math.ColorRGBA-

1 Like