# Clipping problems with rotated widgets

**URL:** <https://forums.unrealengine.com/t/clipping-problems-with-rotated-widgets/306181>\
**Category:** UI\
**Tags:** unreal-engine, bug-report, Widget, question\
**Created:** [February 6, 2015, 2:42pm UTC](https://forums.unrealengine.com/t/clipping-problems-with-rotated-widgets/306181 "2015-02-06T14:42:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Corvinius](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Corvinius](https://forums.unrealengine.com/u/Corvinius)\
**Post date:** [February 6, 2015, 2:42pm UTC](https://forums.unrealengine.com/t/clipping-problems-with-rotated-widgets/306181/1 "2015-02-06T14:42:17Z")

</div>

Hi, i have a serious problem with UMG.  
I need a freely movable interface for an architecture visualization.

This is the menu:

 ![29160-original_menu_problem.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/5/7/e5723edc308dc8ab8db0e287efb9f6b0f69d1c37.jpeg)

The menu needs to snap to the edges of the screen when near them, which works perfectly fine (coded in a mixture of c++ and blueprints).  
But I also need to rotate the inner circle with the dates as well as the outer quartercircle, so they are always visible to the user. But when I rotate the widgets with the angle settings in render transform this happens:

(correct snapping without rotation)

![29172-snapped_correctly.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/3/4/43434cd13e88aa12b8df1df33af0439ed312812b.jpeg)

(clipping bug when rotated)

![29173-snapped_rotated.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/f/3/3f39cbb16e688385d98c08101b019d7b1f563ba3.jpeg)

Here another screenshot from the UMG editor:

 ![29174-clipping_rotated_menu_problem.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/2/e/22e82b92c0b4c1306f202f28bcfed752a3e3df00.jpeg)

I know that it is an issue with the bounding box of the panel.  
The bounding box is not rotated when the render transform is, this causes visible parts of the widget to be cut off, since the bounding box of its original orientation is outside the canvas.

Is this behavior a bug or intended? And if it is intended how do I rotate my widgets near the edges of the screen without them being cut off.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [February 9, 2015, 5:11pm UTC](https://forums.unrealengine.com/t/clipping-problems-with-rotated-widgets/306181/2 "2015-02-09T17:11:42Z")

</div>

Hello Corvinius,

This is a known issue (UE-4659) and it has been sent to the developers for further consideration. Here is a link to the original post for this issue:

> **[4.5 UMG Widget Scale not working correctly!](https://forums.unrealengine.com/questions/117651/45-umg-widget-scale-not-working-correctly.html)**
>
> Create UMG Widget → add something to it → select canvas panel and set Scale to 0.5 or something lower than 1.0 → zoom your view-\> you will see that widget isn’t scaling correctly! A

I will provide updates with any pertinent as it becomes available for this issue at the link above.

Make it a great day

---

<div class="post-metadata">

**Author:** ![MisterMonday](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MisterMonday](https://forums.unrealengine.com/u/MisterMonday)\
**Post date:** [April 15, 2015, 10:21am UTC](https://forums.unrealengine.com/t/clipping-problems-with-rotated-widgets/306181/3 "2015-04-15T10:21:45Z")

</div>

Hope this gets fixed soon!

---

<div class="post-metadata">

**Author:** ![TheAgent](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheAgent](https://forums.unrealengine.com/u/TheAgent)\
**Post date:** [December 26, 2015, 4:23am UTC](https://forums.unrealengine.com/t/clipping-problems-with-rotated-widgets/306181/4 "2015-12-26T04:23:02Z")

</div>

When will this be fixed?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [December 28, 2015, 1:32pm UTC](https://forums.unrealengine.com/t/clipping-problems-with-rotated-widgets/306181/5 "2015-12-28T13:32:39Z")

</div>

Hello TheAgent,

I went ahead and double checked on this issue for you and it appears that this issue’s status has not yet been updated to fixed. There is not a current time frame in place for the implementation of solution for this issue. However, I will be sure to bump up the community interest of the report for this issue. I hope that this information helps.

Make it a great day

---

<div class="post-metadata">

**Author:** ![Annwn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Annwn](https://forums.unrealengine.com/u/Annwn)\
**Post date:** [February 3, 2017, 6:06pm UTC](https://forums.unrealengine.com/t/clipping-problems-with-rotated-widgets/306181/6 "2017-02-03T18:06:05Z")

</div>

Hi,

The way to solve this clipping problem (in many scenarios) is to decrease the sizeX and sizeY of your widget until the bounds denoted by the white points are totally inside the canvas (the widget may have to be very slightly offset so that its horizontal midpoint isnt exactly on the top edge of the canvas so that the bounds can actually be all within the canvas).

You can then resize your widget back to normal by changing the scale values (under Render Transform). As long as the bounds of the widget (as denoted by the white points) are completely within the canvas, no clipping should occur.

 ![124828-rotatewidget.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/6/7/a67be5e906c036e5abbe53d8ec1351dfbd24a7b4.jpeg)

In this screenshot, the white points are the bounds set by changing the sizeX and sizeY and the green box is the Scale of my widget as set by changing to Scale.

---

<div class="post-metadata">

**Author:** ![Sempervirens256](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sempervirens256](https://forums.unrealengine.com/u/Sempervirens256)\
**Post date:** [June 8, 2017, 4:25pm UTC](https://forums.unrealengine.com/t/clipping-problems-with-rotated-widgets/306181/7 "2017-06-08T16:25:17Z")

</div>

Beautiful, what a headache.
