<@U78L28DMX> This line here is problematic: `root....
# tornadofx
e
@amanda.hinchman-dominguez This line here is problematic:
root.add(label(title), i.colIndex, i.rowIndex, i.colSpan, i.rowSpan)
. Remember that when you call the function
label()
you actually call it on the nearest
Parent
Node. So doing
root.add(label()
will first add the label to whatever Node
this
represents, then you add it to the
root
. If what you're trying to achieve is to create a Label manually and then call
root.add
with the Label as a parameter you simply can't use the builders. That's not what they are for 🙂