https://kotlinlang.org logo
#tornadofx
Title
# tornadofx
g

Greg Stepniewski

10/29/2017, 7:45 PM
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