<@U6K8B0PEH> I am not on my computer now so I can'...
# tornadofx
n
@harshmaur I am not on my computer now so I can't post any code. If your fragment only contains one button that would be a bit overkill. I would just use the button builder and add a specific style class to every button that should look the same and add an action function to it
Copy code
button ("button-label") {
 addClass("styleclass")
action {
//do your action here
}
}