# How to resize UI and keep aspect ratio?

**URL:** <https://forums.unrealengine.com/t/how-to-resize-ui-and-keep-aspect-ratio/1207769>\
**Category:** Asset Creation\
**Tags:** unreal-engine, Widget, question\
**Created:** [June 22, 2023, 9:43pm UTC](https://forums.unrealengine.com/t/how-to-resize-ui-and-keep-aspect-ratio/1207769 "2023-06-22T21:43:57Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![nande](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nande/32/1057698_2.png) [@nande](https://forums.unrealengine.com/u/nande)\
**Post date:** [October 1, 2023, 5:40am UTC](https://forums.unrealengine.com/t/how-to-resize-ui-and-keep-aspect-ratio/1207769/2 "2023-10-01T05:40:52Z")

</div>

some people might advice using scalebox as a parent (particularly the min/max aspect ratio)

> [@UMG, maintaining image aspect ratio](https://forums.unrealengine.com/t/umg-maintaining-image-aspect-ratio/37389/2):
>
> Not using the canvas, it knows nothing about images and aspect ratios, so it’s not really the job of the canvas. What you want is the ScaleBox, put the image in it, configure the relevant properties of scaling the contents accordingly.

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-resize-ui-and-keep-aspect-ratio/1207769)._
