Button Style Margin Value stays at 0

  1. Made a button in UMG Designer.
  2. In UMG Graph, made a Button Style Variable and use that to Set Style for the button.
  3. I made the Normal, Hovered and/or Pressed Margin 0.25.

  1. When in Play Mode, that Margin Value is 0.

  1. If I set the Margin Value from the Designer Tab and go back to the Graph Tab and Get that button Widget Style and put that to the Set Style, the Value is what I set.

Hello Robinson,

I was unable to reproduce this issue on our end. I have a couple of questions to help narrow down the issue you are experiencing.

  1. Are you able to reproduce this issue in a new project?
  2. If so could you provide a detailed list of steps so that I can reproduce this issue on our end?

Thanks,

Hello,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will follow up.

It’s a bug where the Margin setting is not saved sometimes, I don’t know how to reproduce it. I just created a ButtonStyle variable, changed some values (image, draw as = box, margin) and after the first time I think, the Margin value reverts back to whatever value it was after you press Compile.

BUT: if you edit the margins by expanding it and typing all 4 values (left, right, top, bottom), then it saves alright.

I would guess it’s not marking the properties as Dirty when you edit the margin by the “Margin” field, so they don’t get saved.

I’m using 4.19.2 and having the same issue as you described. To me it only saves if I expand the Margins and edit the 4 individually.

Ok, just uncheck “Solved” so that Epic takes a look and maybe fix :slight_smile:

(Epic, see my comment in ’ answer)

In 4.17 and newer it works for me as it should. I just forgot about this post.

I haven’t check in awhile so I give it a look.

I’m inside the equal boat besides my iOS app has no AR package features at all. Does this suggest that nobody with four.19.2 can currently post to App store with out rejection?

I want an answer, ideally one which doesn’t contain any programming (i.e a hotfix). I read inside the other thread that surely disabling the ARkit plugin in Unreal doesn’t work both
Also see this
Spacemov | Sportsarefree.xyz | Icefilms Kodi | TOP 10 TORRENT WEBSITES

I’m inside the equivalent pontoon other than my iOS application has no AR bundle includes by any means. Does this recommend no one with four.19.2 can presently post to App store without dismissal?

I need an answer, preferably one which doesn’t contain any programming (i.e a hotfix). I read inside the other string that most likely impairing the ARkit module in Unreal doesn’t work both Also observe this olpair

I’m in 4.27 and have this problem as well! Setting each of the 4 manually does not appear to work for me unfortunately. Looking for more answers. Weirdly mine stays at 0.05 not 0.

SOLUTION!!! Duplicating the style after setting the margin and replacing the variable gave me the correct results! Note that you have to do this EVERYTIME you want to make a change. The new variable is not fixed, it just gets the value saved correctly.