How to add style to all texts inside container? c...
# tornadofx
i
How to add style to all texts inside container? childrens operator is deprecated. Here is the solution I'm try
Copy code
---STYLES---
 parentClass { 
    text {
        textFill = myColor
    }
}

---IN VIEW---
vbox {
addClass(Styles.parentClass)
hbox {
    text(someText)
}
}
But it don't work(