It seems that the function already allows you to s...
# tornadofx
a
It seems that the function already allows you to set the opacity on the background. So, you could just do this:
Copy code
hbox {
    text("Lorem Ipsum")
    style {
        backgroundColor += c("#FFFFFF", .10)
    }
}