UMG dynamic resize border

Hello folks,

at the moment i am trying to write a little UMG widget with just a border element do display various aspect ratios on the screen. The first step was to display a dynamic resizable border at 90% (or like in the sreenshot 100%) of the viewport. But i failed at this.
The Idea was to get the viewport size and resize the border to its values.

But as you can see the Border is at about 1.45 to small.

The 1.45 factor changes with the viewport size.

Is there any way to generate a frame that is constantly at 90% of the viewport size ?

1 Like