# How to keep widget Fill after rotation? 

**URL:** <https://forums.unrealengine.com/t/how-to-keep-widget-fill-after-rotation/2718595>\
**Category:** Blueprint\
**Tags:** unreal-engine, rotate, Widget, question, Blueprint\
**Created:** [April 28, 2026, 2:53pm UTC](https://forums.unrealengine.com/t/how-to-keep-widget-fill-after-rotation/2718595 "2026-04-28T14:53:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ductrungg01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ductrungg01](https://forums.unrealengine.com/u/ductrungg01)\
**Post date:** [April 28, 2026, 2:53pm UTC](https://forums.unrealengine.com/t/how-to-keep-widget-fill-after-rotation/2718595/1 "2026-04-28T14:53:43Z")

</div>

I have a widget (an Image) inside a Vertical Box, and its Size is set to **Fill**.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/b/71b4c42794a1c2fc2a19baf4a81391716bdf968c.jpeg)

When the widget is not transformed, it fills the available space as expected. However, after applying a **Render Transform rotation (90°)**, the Fill behavior no longer works—the widget no longer fills the container.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/b/7/4b75071efce5a488ae09ff09eaa3e46041f730cc.jpeg)

It seems that the Fill property only works correctly when no Render Transform is applied.

Is there a way to keep the widget filling its parent container even after rotation?

Any suggestions or workarounds would be appreciated.

---

<div class="post-metadata">

**Author:** ![illspiritx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@illspiritx](https://forums.unrealengine.com/u/illspiritx)\
**Post date:** [April 28, 2026, 4:22pm UTC](https://forums.unrealengine.com/t/how-to-keep-widget-fill-after-rotation/2718595/2 "2026-04-28T16:22:22Z")

</div>

Best bet would probably be to make a material and rotate the texture UVs

---

<div class="post-metadata">

**Author:** ![ductrungg01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ductrungg01](https://forums.unrealengine.com/u/ductrungg01)\
**Post date:** [May 4, 2026, 7:52am UTC](https://forums.unrealengine.com/t/how-to-keep-widget-fill-after-rotation/2718595/3 "2026-05-04T07:52:46Z")

</div>

I used image in example to easier to understand. In real case, that’s is a widget. So create material is not a way.  
Could you please propose another solution? Thanks!

---

<div class="post-metadata">

**Author:** ![dZh0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dZh0](https://forums.unrealengine.com/u/dZh0)\
**Post date:** [May 4, 2026, 9:21am UTC](https://forums.unrealengine.com/t/how-to-keep-widget-fill-after-rotation/2718595/4 "2026-05-04T09:21:29Z")

</div>

It is impossible to fill and rotate like that.

The fill behavior has no way to decide how to fill on an arbitrary angle (say 35°)

Your best approach is either to write your own rotation to scale calculation for arbitrary angles or (if you have just portrait landscape) to have 2 images fitted (one horizontal and one vertical) inside a widget switcher and switch between them.

---

<div class="post-metadata">

**Author:** ![illspiritx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@illspiritx](https://forums.unrealengine.com/u/illspiritx)\
**Post date:** [May 4, 2026, 4:31pm UTC](https://forums.unrealengine.com/t/how-to-keep-widget-fill-after-rotation/2718595/5 "2026-05-04T16:31:49Z")

</div>

You can use material instances in a widget and have the widget set values in the mat. But if it _must_ be done only in widge, first it would help to know 2 things: Can user rotate image freely, or are you only trying to rotate when created based on whether image is portrait or landscape perspective?

---

<div class="post-metadata">

**Author:** ![ductrungg01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ductrungg01](https://forums.unrealengine.com/u/ductrungg01)\
**Post date:** [May 5, 2026, 3:30am UTC](https://forums.unrealengine.com/t/how-to-keep-widget-fill-after-rotation/2718595/6 "2026-05-05T03:30:13Z")

</div>

I’m trying to rotate widget on portait/landscape perspective only. I’m not allow to user rotate freely.

---

<div class="post-metadata">

**Author:** ![illspiritx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@illspiritx](https://forums.unrealengine.com/u/illspiritx)\
**Post date:** [May 5, 2026, 5:51am UTC](https://forums.unrealengine.com/t/how-to-keep-widget-fill-after-rotation/2718595/7 "2026-05-05T05:51:41Z")

</div>

If you’re just trying to match size/aspect of an image, try wrapping image in a size box, and tick the size to content box in the slot options. When you change image at runtime, do this in widget blueprint to override size using new image dimensions:

 ![widget-size-override](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/c/1/cc147e69e8c4a61ed9f8a6177569f155e0e1612c.jpeg)

If image is too big, there’s also aspect ratios you could set in the size box by doing some math on image
