What is the proper way to scale a widget image component to the screen size?

I set this red “damage” image in my hud UMG widget to the size of the screen resolution but it is short for some reason on the left and right side, even though the anchor is in the center. Anyone know how to set it to scale up to the screen size no matter what it is? Thanks.

Hello! Canvas in most cases is used for absolute positioning, if you want your widgets to have some percentage size, then you can easily replace your Canvas with Hor Box Panel, Vert Box Panel, Grid and so on. Their slots have some props to set child’s sizes as percents of parent size…
Also you can take a look at this Creating Resolution-independent UIs in Unreal Engine 4 · ben🌱ui