Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

New element text larger than buffer

ANSWERED

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 ?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

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;
}

View best answer in original post

Best Answer
3 REPLIES 3

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;
}
Best Answer

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
0 Votes
Thx you bro. Its work
Best Answer
0 Votes