Button Style Inconsistency

I’ve been trying to use a struct to set a buttons style through an enum in UMG. The problem I’m having is that style settings don’t match visually between the designer and Button Style variables. You end up with this, the first 3 have a Button Style variable with the same settings as the latter 3 applied to them.

63035-buttons.png

Breaking the style struct down for either into a string gives the same values even though they look different.

/edit

Just breaking and making the SlateBrush struct for Normal/Hovered/Pressed will cause it to lose the image.

Hello UntamedLoli,

I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?
  2. If so, could you provide a detailed set of steps to reproduce this issue on our end?
  3. Could you provide screen shots of any blueprints that may be involved with issue?

Yes, I made a new first person blueprint project without starter content and made a new widget blueprint with 3 buttons on it.

Made a new Button Style variable in that widget. By default It has the same settings as the buttons do in the designer but lacks the images, which is my issue. Set the Widget Style of the buttons like this. First button is untouched.

Added it to the FirstPersonCharacter viewport.

Second and third buttons are flat colors and no longer have images.

I was able to reproduce this issue on our end. I have written up a report (UE-22329) and I have submitted it to the developers for further consideration. I will provide updates with any pertinent information as is becomes available. Thank you for your time and information.

Note: I found that this issue only seems to occur when the normal style is set it’s default “None”.

Make it a great day

What is the status of this issue? It still appears broken for me in 4.18.2.

Im on 4.20 and have the same issue

Finally solved that problem by readding the normal brush texture manually.