Issues with UIPadding in public game

Hi!

I am currently making a UI, and have the following layout which looks like this in studio under play mode:
image
Now, the primary thing I want you to focus on is this UI padding for the play button here:
image
This padding has these values:
image

Now the issue I have is when I enter the public game. When I do, the first thing I notice is the play button seems to have no bottom padding. I check the padding in game with the command bar, and it has the correct values. It just doesn’t seem to obey the padding!


What am I doing wrong? Is it some engine bug, or am I missing something?

Yeah yeah, I found the issue… I had a UIListLayout with vertical flex set to fill. It was overriding the padding. I need some coffee :sob:

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.