when i use text and i want to put it on the screen he say "New element text larger than buffer".
for exemple i cant have more of 3 characters. Someone can help me please ?
Answered! Go to the Best Answer.
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
You can change the length in CSS or as an attribute on the <text> tag.
text-length: specifies the number of characters to reserve for the text string. Will be rounded up to a multiple of 4.
<text text-length="32" />
or
.myClass {
text-length: 32;
}
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
You can change the length in CSS or as an attribute on the <text> tag.
text-length: specifies the number of characters to reserve for the text string. Will be rounded up to a multiple of 4.
<text text-length="32" />
or
.myClass {
text-length: 32;
}
Jon,
According to my last understanding you cannot set text-length in CSS! this will prevent the app from loading. There is no error generated, the app simply does not load.
Or is this changed in recent updates?
Best Answer