bluecadet / Cinder-BluecadetViews

Scene graph Cinder block with touch management and various tools for UI dev
MIT License
11 stars 3 forks source link

TextView setup bug #102

Closed kevinzak closed 6 years ago

kevinzak commented 6 years ago

If you use TextView::setup , you need to use ALL of the optional parameters in order for the next to render. Specifically, you need to set the last parameter, which is MaxWidth. The optional parameter sets this to -1 by default, and this should just allow the text to flow as wide as its needed. Instead it just won't render.

benjaminbojko commented 6 years ago

@kevinzak If you change the last default value to 0 instead of -1, does that fix it? If so, could you make that change and create a PR?

kevinzak commented 6 years ago

Sure thing I'll check it out.

kevinzak commented 6 years ago

Can confirm if you just set to 0 instead of -1. I'll make the changes and make a PR today.

benjaminbojko commented 6 years ago

Fixed in #105