I made my widget blueprint and added to the timer device in the custom widget class, in the editor it is placed to the top right of the screen however when i launch a session it is placed centrally. I am asuming it is something to do with anchors but i am very new to UI so am hoping someone can help. I have attached a link to some screen shots to try and explain my issue. Thanks alot.
In your UMG blueprint,
Your top Hierarchy needs to be a Canvas Panel.
after Canvas panel put an overlay.
Overlay is your anchor. stretch to fill the screen first. ( control+shift on the full screen anchor )
then just left click anchor at center.
this will ensure that your UI will fill up no matter the resolution and still stay center.
Lastly, i think inherently the Timer device is some what offset from the top. To fix this issue, under transform there’s a translation property, shift its Y value to the appropriate amount that you want.
2 Likes