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

Tobias

11/11/2019, 12:10 AM
Hey guys, quick layout question -- I have a
TableView
inside an
HBox
with some siblings, inside a
VBox
with some siblings. Can I get the table to both
vgrow
and
hgrow
to fill all available space when the window is resized?
r

Ruckus

11/11/2019, 1:15 AM
Set
hgrow
on the
TableView
and
vgrow
and the
HBox
.
Also, make sure you're not just needlessly recreating
BorderPane
t

Tobias

11/11/2019, 3:05 AM
Thanks for the tip!
Yeah, on second thought a borderpane is merited in my used case!
5 Views