The Anchor point is 0.5, position is .5. If I change the size it fixes its self. Any idea?
Could you elaborate more on this and explain what you mean by “fixes its self”. Do you mean it positions the gui way off when you play test the game?
When I start the game the UI is like this. When I change the size of the UI it centers itself to the center of the frame like it should be.
Try to change the Size and Position based on Scale not on the Offset… if you click into the position or the size properties and then click into the X and Y values you will see the Scale and Offset, only use Scale.
The anchorpoint is 0.5, 0.5
, and the position is 0.5,0,0.5,0
for sure?
It could also help to send your place file.
Here is a file of the UI, I do not want to post the place file due to the backend code and exploitation issues.
File.rbxm (5.9 KB)
Alright, I figured it out, on the child frames you had AutomaticSize set to X, which messes up the width for some reason. I turned it back to none and it worked flawlessly.
I have also added a UIAspectRatioConstraint and made the size offset of the holder so it fits on all screens, but there is two versions linked below if you don’t want that.
FixedGui.rbxm (6.2 KB)
FixedGuiNOConstraint.rbxm (5.9 KB)
(Note: The one with no constraint will scale strangely if you choose it:)