开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜