# Widget Box Scale

**URL:** <https://forums.unrealengine.com/t/widget-box-scale/1975766>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [August 14, 2024, 3:51pm UTC](https://forums.unrealengine.com/t/widget-box-scale/1975766 "2024-08-14T15:51:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![30quickdead](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@30quickdead](https://forums.unrealengine.com/u/30quickdead)\
**Post date:** [August 14, 2024, 3:51pm UTC](https://forums.unrealengine.com/t/widget-box-scale/1975766/1 "2024-08-14T15:51:54Z")

</div>

I am making a 2d game, the npcs in the background will be speak each oher and i am trying to make a dialogue system for them. What i want is make a widget that will extend according to the length of the text. What i have in mind is like this

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/d/5/fd508f19c6e790af250562702d598df85a517be9.png)  
How can i achieve this?

---

<div class="post-metadata">

**Author:** ![Shunitzo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shunitzo/32/1194547_2.png) [@Shunitzo](https://forums.unrealengine.com/u/Shunitzo)\
**Post date:** [August 14, 2024, 4:47pm UTC](https://forums.unrealengine.com/t/widget-box-scale/1975766/2 "2024-08-14T16:47:10Z")

</div>

> [@properly scale image as border in UMG](https://forums.unrealengine.com/t/properly-scale-image-as-border-in-umg/1268313/7):
>
> This looks fine. Are we talking about the border or the image that lives inside the border? [image] Here’s the behaviour I’d expect: From this image: [Untitled]
