Setting the material of a image widget not working

Im trying to make the tabs for an inventory system but whenever i try to change the material of a widget image using this


however it just either turns black or disappears


this is the blueprint for the material

Anything helps and thank you in advance

I’m pretty sure the problem here is that the material domain is not “User Interface”.

image

thanks, ill test it out