# Is there any way wrap a AutoWrapText correctly?

**URL:** <https://forums.unrealengine.com/t/is-there-any-way-wrap-a-autowraptext-correctly/1698972>\
**Category:** Programming & Scripting\
**Tags:** layout, text, unreal-engine, Widget\
**Created:** [February 19, 2024, 4:27am UTC](https://forums.unrealengine.com/t/is-there-any-way-wrap-a-autowraptext-correctly/1698972 "2024-02-19T04:27:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wsswr1h](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@wsswr1h](https://forums.unrealengine.com/u/wsswr1h)\
**Post date:** [February 19, 2024, 4:27am UTC](https://forums.unrealengine.com/t/is-there-any-way-wrap-a-autowraptext-correctly/1698972/1 "2024-02-19T04:27:36Z")

</div>

Hi all. Is there any way wrap a AutoWrapText correctly?  
I am trying to apply a simple IM in my project, and trying to make it looks like Telegram. I am using RichTextBlock with true on Auto Warp Text, to contain text message, but get stuck on how to warp RichTextBlock correct with border or any image. I tried using GetSize to calculate size for border manually, but it seems the value returned by GetSize is not match with actual size. Thanks for any ideas!

---

<div class="post-metadata">

**Author:** ![Arodi007](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arodi007/32/1022275_2.png) [@Arodi007](https://forums.unrealengine.com/u/Arodi007)\
**Post date:** [February 19, 2024, 7:15am UTC](https://forums.unrealengine.com/t/is-there-any-way-wrap-a-autowraptext-correctly/1698972/2 "2024-02-19T07:15:17Z")

</div>

Can you show us a picture of your widget so we get an idea of your border/image.

You can just reduce the width/height of your text box so it wrap in a smaller dimension than your background border/image.
