Trying to get some auto scrolling to work, and I g...
# tornadofx
p
Trying to get some auto scrolling to work, and I got this:
Copy code
val before = scroll.vvalue
                realMessageList.add(MessageView(who, content))
                if (before == 1.0) {
                    scroll.vvalue = 1.0
                }
by the time the forth line is hit, the vvalue still hasn’t changed (maybe not rendered yet?). Is there a better way to do this?