Hbox horizontalScrollPosition not working
I am applying hb.horizontalScrollPosition = value and it does not work with horizonalS开发者_Python百科crollPolicy = on/off. Is there any other way to achieve this?
Thanks.
When exactly are you setting the scroll position relative to loading the content? Perhaps the content isn't measured yet. Try using callLater to wait a frame before setting the scroll position.
精彩评论