Chinese cannot wrap automatically in the 3DGUI
Ask for help.
Hello! Let me take a look.
1 Like
Oh, I see whatâs happening. By default, we separate text in words based on the traditional unicode space character: â â U+0020 Space (SP) Unicode Character (compart.com). But your text doesnât contain this space character, and utilizes the âfullwidth exclamation markâ character instead: ďź - U+0FF01 - decodeunicode.org. You can solve this in a few ways, one would be to set the fullwidth mark to wordDivider
property, but then, the text wonât split on the traditional space anymore. If youâd like to have the option to split on both characters, you can pass your own custom wordSplittingFunction
: 3DGUI | Babylon.js Playground (babylonjs.com)
1 Like
Thank you so much. perfectly solved my problem
1 Like