# Text adjustment issue

**URL:** <https://forum.babylonjs.com/t/text-adjustment-issue/15730>\
**Category:** Questions\
**Created:** [November 16, 2020, 1:58am UTC](https://forum.babylonjs.com/t/text-adjustment-issue/15730 "2020-11-16T01:58:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mekaboo](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mekaboo/32/440_2.png) [@Mekaboo](https://forum.babylonjs.com/u/Mekaboo)\
**Post date:** [November 16, 2020, 1:58am UTC](https://forum.babylonjs.com/t/text-adjustment-issue/15730/1 "2020-11-16T01:58:13Z")

</div>

Hey!!

[https://playground.babylonjs.com/#AA3H19#37](https://playground.babylonjs.com/#AA3H19#37)

Having trouble fitting text on Plane mesh B(Welcome to…). Tried to add the fit to text area code and adjust it within mine but couldnt get it to work. How to get sentences to fit on mesh?

💛 💚,  
Mekaboo

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [November 16, 2020, 10:55am UTC](https://forum.babylonjs.com/t/text-adjustment-issue/15730/2 "2020-11-16T10:55:09Z")

</div>

`DynamicTexture.drawText` is using the `fillText` function from the 2D context which does not handle multilines / line wrap.

Instead, you can use the `TextBlock` GUI control, and to apply it on your plane use the `CreateForMesh` method of `AdvancedDynamicTexture`:

[https://playground.babylonjs.com/#ZI9AK7#908](https://playground.babylonjs.com/#ZI9AK7#908)

---

<div class="post-metadata">

**Author:** ![Mekaboo](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mekaboo/32/440_2.png) [@Mekaboo](https://forum.babylonjs.com/u/Mekaboo)\
**Post date:** [November 17, 2020, 3:08am UTC](https://forum.babylonjs.com/t/text-adjustment-issue/15730/3 "2020-11-17T03:08:08Z")

</div>

Thank ya so very much Sir @Evgeni_Popov 💗

It worked like charm…even got it to where I deleted the plane background and it looks exactly how I want it to look!!

[https://playground.babylonjs.com/#AA3H19#43](https://playground.babylonjs.com/#AA3H19#43)
