ivansafrin / Polycode

Polycode is a cross-platform framework for creative code.
polycode.org
MIT License
2.38k stars 349 forks source link

ScreenLabel goes "all white" with long strings #76

Open mcclure opened 12 years ago

mcclure commented 12 years ago

Using Polycode c3c534c (NOTE: This is a little bit old compared to top of tree) with very minor patches. Accidentally assigned a screenlabel a very very long string with setText. Looked like this:

http://i.imgur.com/Lu2eV.png

Looks like past a certain boundary it ran out of room in whatever texture it's rendering into and started squishing the text. Not sure though

mcclure commented 12 years ago

Tested again with e089bf3. The problem is still present but the symptom is different. Now instead of drawing the ScreenLabel scrunched, the screenlabel is drawn as one pure solid rectangle completely of the text color.