# How do I stop Wrap Box from wrapping the last element when it's set to fill and has space?

**URL:** <https://forums.unrealengine.com/t/how-do-i-stop-wrap-box-from-wrapping-the-last-element-when-its-set-to-fill-and-has-space/483839>\
**Category:** UI\
**Tags:** text, unreal-engine, question, UMG\
**Created:** [May 24, 2021, 8:21pm UTC](https://forums.unrealengine.com/t/how-do-i-stop-wrap-box-from-wrapping-the-last-element-when-its-set-to-fill-and-has-space/483839 "2021-05-24T20:21:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deadpxl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deadpxl](https://forums.unrealengine.com/u/Deadpxl)\
**Post date:** [May 24, 2021, 8:21pm UTC](https://forums.unrealengine.com/t/how-do-i-stop-wrap-box-from-wrapping-the-last-element-when-its-set-to-fill-and-has-space/483839/1 "2021-05-24T20:21:33Z")

</div>

Since I’m on a project locked into v4.25 I don’t have access to the new letter-spacing so I’ve created my own by using a Wrap Box method similar to solutions I’ve seen on here. (each letter is in a Horiz Box per word, all words are held in a Wrap Box). But anywhere the text element is set to fill space it’ll always wrap the last word, regardless of if it had the space for it. If anything happens to affect the DPI it’ll then wrap EVERY word. I’ve even gone as far as to try and wrap it in a size-box and set the width to be slightly more than the desired width, still will wrap the last item.

That said, is there maybe an easier/more efficient way to add letter-spacing to text pre-4.26? As this method is already restrictive performance-wise since it’s also having to set at runtime for every element.
