<@U7QRFLHTK> Great work! By the way, I just rememb...
# tornadofx
@anidotnet Great work! By the way, I just remembered that scrollpane actually already supports this behavior, and we've supported the configuration of it since TornadoFX 1.6.2. Sorry about that ­čÖé These functions are still very helpful though. When you create a scrollpane, just pass
fitToWidth = true, fitToHeight = true
to use the built in mechanism for it. I'm updating the CHANGELOG to describe your additions as well!