drawString is limited to 10 characters?


when I use drawString the text is always cut up after exactly 10 characters. For example: backgroundLayer.drawString(1, 1, {0, 0xff, 0}, “Temperature”);
the last “e” is missing. Is this a bug or I am doing something wrong?
With: scrollingLayer1.start(“Temperature”, 1);
it works fine, but i don´t want scrolling text in this case.

You can edit this line:
“limit text to 10 chars, why? for (int i = 0; i < 10; i++)”
in file:

Change the 10 to what you want the limit to be…

Same applies to the indexed layer file:



1 Like

Thanks Daniel,

I opened an issue on GitHub to get this fixed in the future:

No problem, this had me stumped when i first ran into it too so all the better everyone knows the solution…