oddgames / UIToolkit

Single draw call UI solution for Unity with multi resolution support and more.
518 stars 153 forks source link

Scrollable text #141

Open chubz opened 11 years ago

chubz commented 11 years ago

Hello, I'm having an issue with setting up and About screen for my mini game. I've set up a scrollable vertical layout with 1 element and I have a button as a header, positioned the layout below my header button. I'm using multiple atlases and I've put a wrappedText instance on the screen. When I try to say scrollable.addChild(myText) this yields an error: No appropriate version of 'UIAbstractTouchableContainer.addChild' for the argument list '(UITextInstance)' was found.

Don't know if this feature is missing, or maybe I'm doing something wrong.

When I read the setup text and features text on git it said that layouts can add any children.