# How to set the scrollbox child button size?

**URL:** <https://forums.unrealengine.com/t/how-to-set-the-scrollbox-child-button-size/151275>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [September 27, 2020, 11:51am UTC](https://forums.unrealengine.com/t/how-to-set-the-scrollbox-child-button-size/151275 "2020-09-27T11:51:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Savagee25](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Savagee25](https://forums.unrealengine.com/u/Savagee25)\
**Post date:** [September 27, 2020, 11:51am UTC](https://forums.unrealengine.com/t/how-to-set-the-scrollbox-child-button-size/151275/1 "2020-09-27T11:51:32Z")

</div>

Hi.

I’m trying to adjust the size of a child button in the scrollbox, unfortunately I haven’t found out how to do it.

 ![scroll.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/8/0/805b87afce0232718392f7432e086e2405f5b4e1.png)

If I do not add buttons dynamically, it is very easy to do so using the image size

 ![scroll2.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/f/7/f7b5df1201fe31fe8f9ba5553b23b57112a94d5d.png)

Thanks

Savage

---

<div class="post-metadata">

**Author:** ![JaredTherriault](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jaredtherriault/32/1194499_2.png) [@JaredTherriault](https://forums.unrealengine.com/u/JaredTherriault)\
**Post date:** [September 27, 2020, 3:51pm UTC](https://forums.unrealengine.com/t/how-to-set-the-scrollbox-child-button-size/151275/2 "2020-09-27T15:51:10Z")

</div>

I’m sure there’s some kind of slot you can cast to to get that option but I couldn’t tell you which one 🙂

I can however recommend using a size box. It looks like you have a button in a separate user widget you spawn. Wrap the elements of that user widget inside of a size box and make it a variable. You can set the width and height overrides on it directly then after you add it to your scrollbox.

---

<div class="post-metadata">

**Author:** ![Savagee25](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Savagee25](https://forums.unrealengine.com/u/Savagee25)\
**Post date:** [September 27, 2020, 7:30pm UTC](https://forums.unrealengine.com/t/how-to-set-the-scrollbox-child-button-size/151275/3 "2020-09-27T19:30:59Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![Savagee25](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Savagee25](https://forums.unrealengine.com/u/Savagee25)\
**Post date:** [September 27, 2020, 9:25pm UTC](https://forums.unrealengine.com/t/how-to-set-the-scrollbox-child-button-size/151275/4 "2020-09-27T21:25:47Z")

</div>

i have additional quastion: How can i make extra buttons to scroll the scrollbox-contents up and Down, instead of using the scrollbar?

“Up button pressed scroll e.g. 1 cm upwards and vice versa”
