Hi.
I’m newbie to UE4. I have generated a HUD using UMG that is a HorizontalBox.
I wanna use an image or color background in that horizontalbox.
When i create an image and set its parent to HorizontalBox it add as a new element to it logically.
My solution with the overlay panel is good if you have a complex hierarchy since an overlay panel can have multiple children. For example you can add multiple images to use as a background to add more details.
If you just have one child, your solution with a Border Panel is simpler (and I guess the intended use). See image with a Border Panel:
With this setup you can also achieve bordered panels. To do this grab a 9 tile border image (see [Setting Image States][4]) and set it as the image and give the horizontal box a padding: