[Solved] ScrollView child widgets always invisible

shenjoku

16-10-2011 21:03:54

I'm having some issues trying to use a ScrollView widget, mainly that no matter what I add to it they never get rendered. I must be missing something non-obvious because I'm looked through the class code even and I still cannot find a single thing that makes the children appear properly. How do you make this thing work?

EDIT:Never mind, I figured it out. The problem is that ScrollView has this canvas widget that you need to set the size of by calling setCanvasSize().