What do you want to achieve? Make the white line centered with the “Number-coin” (the dark one) ui when i change the size of the screen.
What is the issue?
Here is what i did if it helps (Check the “solution” in the link below): i did the “NO PARENT” technique“ on “The black ui” with the texts: “Coin” and “Number”
coinGui.rbxl (53.7 KB)
here is my version of the fix.
the white line is now there, and 95% of the UI objects have now been switched to scale.
this will allow it to scale properly and cleanly from device to device.
i think you might have been using offset intentionally for some frames, but let me know if you need any help with that.
Yeah… its a roblox file, you also had sent a rbxm file you just right click on explorer and click “Insert from file” or drag and drop the file from your file explorer into the viewport.
I apologize for not being clear enough in my post. which may have led to misunderstandings. But I’ve adjusted the topic to better reflect my intentions and provide clarity.
Thank you for your patience and understanding. If you have any further questions or need additional clarification, please don’t hesitate to reach out.
I updated the line position to {0.5, 0, 0.5, 0} and set the Line sizeconstraint to XY. Now similar to what @RainingMemory said I would adjust the scaling of the UI, now I wouldn’t recommend using all scale since it’ll deform your UI and it won’t look as you had originally designed it to be. I personally use a mixture of the new UIFlex items, offset and scale. I’ve left an example of what it’d all look like below.
Also if your wanting the line to work all the way down from the top to bottom it wouldn’t work the best with your the new method used but I did fix that in the example below.
Theres quite a few changes I had made so you’ll just had to look over it to get an understanding of what makes it work. NumberCoin.rbxm