[UMG] Strange behaviour with Progress Bars Marquee

Hi, guys,

I have a problem with the Progress Bar (4.19 - 4.25). When I add a progress bar in one widget, and place this widget in another widget, something strange happens when I change marquee style settings in the editor or At Runtime.

So when I change Marquee Style Settings, the whole Progress Bar suddenly turns into a white area.
Does anyone know how I can prevent this?

Please take a look at the screenshots.!

Can you confirm that you’re feeding something else than 0,0 as Image Size? Also, you can try it like this:

This way you do not need to deal with all the wires. The fields you do not expose on SetMember remain unchanged.

Also, changing the marquee image size run-time seems to work ok on my end. I’d blame the image itself here rather than its size.

Thx for your reply and reproducing. Yes, I’m feeding it with the values which you see in the details panel in my screens 001 and 003. Thanks for the members tip, thats clever. It only happens when the progress bar is placed inside of a widget which is placed in another widget. Could this be a bug?

Could be but it’s highly unlikely.

It only happens when the progress bar
is placed inside of a widget which is
placed in another widget.

Outer widgets (like a border) can override Content Color and Opacity, meaning that anything sitting inside will be affected by the parent’s settings. Here’s text in a border, notice how this does not affect the border itself but does affect the text:

Image from Gyazo

Perhaps that’s what’s happening here. If in doubt, show us the hierarchy.

I saw your response in the e-mail but it’s pending moderation here. So here’s my example:

The wrapped progress bar with marquee:

Sitting in the parent widget:

308571-designer.jpg

Pre_Construct and run-time:

The result:

308573-runtime.jpg

Or did I miss a step? And I can confirm the image size gets updated as it jerks a wee bit as expected in this setup.

Hi there,

I removed my response, because I made a mistake in my screens and did not connect the “set members” output with the “set” struct. I tried to reproduce the issue with no success anymore, but I used your tip and set the struct members (so that worked).

And thanks to you, I got it working in my actual project by setting the struct members directly instead of getting and setting the other struct members.

It might be, that the issue can be reproduced when using the method I posted above (with getting and setting the structs).

But for me your solution worked. So, thank you SO much sir!

If you want to reply in an answer again I’ll mark it as solved ^^ (if you’re a Karma hunter)

Glad to hear you got it to work.


You should be able to convert your own comment into an answer or provide a new answer that worked for you below, and accept that. Up to you.

Good luck with the rest!

I’m now using it like this