complete noob question, but how do I make a label ...
# tornadofx
g
complete noob question, but how do I make a label stretch in a hbox? I tried setting hgrow to Priority.ALWAYS but it has no effect…
Copy code
selectedFile = label("No file selected") {
                    hgrow = Priority.ALWAYS
                    style { backgroundColor = multi(c("green")) }
                }
doing
Copy code
hboxConstraints { hGrow = Priority.ALWAYS }
instead also does not work