# Scroll Box expanding like Vertical Box

**URL:** <https://forums.unrealengine.com/t/scroll-box-expanding-like-vertical-box/480645>\
**Category:** Community & Industry Discussion\
**Tags:** unreal-engine, question, box-overlap\
**Created:** [March 21, 2021, 5:09pm UTC](https://forums.unrealengine.com/t/scroll-box-expanding-like-vertical-box/480645 "2021-03-21T17:09:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Suundumused](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/suundumused/32/599389_2.png) [@Suundumused](https://forums.unrealengine.com/u/Suundumused)\
**Post date:** [March 21, 2021, 5:09pm UTC](https://forums.unrealengine.com/t/scroll-box-expanding-like-vertical-box/480645/1 "2021-03-21T17:09:38Z")

</div>

I put a scroll box inside a horizontal box and in the initial event it spawns the buttons inside the scroll box, but it happens that the scroll box expands across the screen instead of remaining in a static size to enable scrolling.

 ![333128-re1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/0/4/a04d2b1940de2a00f92279c8cee5cbfbff0965a9.jpeg)

 ![333129-re2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/6/e/16e59ee686cdf98fd6403928948040e705ffa429.jpeg)

---

<div class="post-metadata">

**Author:** ![GrumbleBunny](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GrumbleBunny](https://forums.unrealengine.com/u/GrumbleBunny)\
**Post date:** [March 21, 2021, 5:43pm UTC](https://forums.unrealengine.com/t/scroll-box-expanding-like-vertical-box/480645/2 "2021-03-21T17:43:25Z")

</div>

In that screenshot you’ve got vertical alignment set to fill all available space. Try wrapping the scrollbox in a size box and setting a maximum height.

---

<div class="post-metadata">

**Author:** ![Ruben\_The\_Great](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ruben\_The\_Great](https://forums.unrealengine.com/u/Ruben_The_Great)\
**Post date:** [April 17, 2026, 8:00pm UTC](https://forums.unrealengine.com/t/scroll-box-expanding-like-vertical-box/480645/3 "2026-04-17T20:00:17Z")

</div>

Thank you dude your comment is still helping
