Download

[UMG] Scale image according to widget size?

I have a custom class with simple hierarchy:

  • Overlay
    • Image A. Filled.
    • Image B. Aligned to right-bottom corner.

Image B is set to 48x48 pixels when I’m using a custom widget size (preview) of 200x200 (or roughly 0.25 of widget width & height)

When I use the widget and change it’s size - Image A is changing correctly since it’s filling.
Image B however is keeping it’s size. How can I make it so it will resize based on the widget size?