# Vertical Box UI Widget Question

**URL:** <https://forums.unrealengine.com/t/vertical-box-ui-widget-question/1258971>\
**Category:** UI\
**Tags:** unreal-engine, gui, editor, UI, Widget, Blueprint, question\
**Created:** [August 12, 2023, 5:32pm UTC](https://forums.unrealengine.com/t/vertical-box-ui-widget-question/1258971 "2023-08-12T17:32:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![HappyKat100](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HappyKat100](https://forums.unrealengine.com/u/HappyKat100)\
**Post date:** [August 12, 2023, 5:32pm UTC](https://forums.unrealengine.com/t/vertical-box-ui-widget-question/1258971/1 "2023-08-12T17:32:55Z")

</div>

Hi - I’m trying to set it so when I make my first interactable text (highlighted in the image) hidden then the second interactable text moves up into it’s place (rather than leaves a gap). I’m using a Vertical Box. This works when I show or hide in the widget editor, but in game when I set “Interact1\_HorizontalBox” visibility to Hidden the second interact text (“Interact2\_HorizontalBox”) just stays in place and leaves a gap where the first interact text was, rather than moves up into the first interact position.

How do I get the second interact text to move up to the first interact text position when I am hiding the first interact text?

Huge thanks in advance!

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/c/9/7c915e81393b0a30c4a27277d13cb8f759a46bcc.png)

---

<div class="post-metadata">

**Author:** ![rokenrock](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rokenrock/32/1040844_2.png) [@rokenrock](https://forums.unrealengine.com/u/rokenrock)\
**Post date:** [August 12, 2023, 5:38pm UTC](https://forums.unrealengine.com/t/vertical-box-ui-widget-question/1258971/2 "2023-08-12T17:38:23Z")

</div>

Set it to collapsed rather than hidden. It’s in the same dropdown as hidden.  
Hidden will keep the layout the same, but collapsed won’t.

---

<div class="post-metadata">

**Author:** ![HappyKat100](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HappyKat100](https://forums.unrealengine.com/u/HappyKat100)\
**Post date:** [August 12, 2023, 6:11pm UTC](https://forums.unrealengine.com/t/vertical-box-ui-widget-question/1258971/3 "2023-08-12T18:11:01Z")

</div>

Oh my gosh - so simple! Thanks very much!

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [September 11, 2023, 6:11pm UTC](https://forums.unrealengine.com/t/vertical-box-ui-widget-question/1258971/4 "2023-09-11T18:11:36Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
