Topbarplus button not on the left

help pls. The button is in the correct position on most screens but one player had it like this where it’s more towards the center. Why??

local Player = game.Players.LocalPlayer
local UI = Player.PlayerGui
local isVisible = true

local Icon = require(game.ReplicatedStorage:WaitForChild("Icon"))

local icon = Icon.new()
	:setName("HideUI")
	:setImage(102976018150012, "Deselected")
	:setImage(78557519106400, "Selected")
	:autoDeselect(false)

icon.toggled:Connect(function()
	isVisible = not isVisible
	for _, child in ipairs(UI:GetChildren()) do
		if child:IsA("ScreenGui") and child.Name ~= "TopbarStandard" and child.Name ~= "AdminPanelGui" and child.Name ~= "PlayerGui" and child.Name ~= "ThumbnailUI" then
			child.Enabled = isVisible
		end
	end
end)

That is because their device is bigger and you’re possibly using Offset position rather than Scale position.

You could add a UIAspectRatio object lock, so both size and position stays the same across devices regardless of size.

Try to explicitly set :align("Left") to your icon.

But if you have other icons without explicit alignment, you should set them.

You can also dictate the order of the icons using :setOrder(X) if you have multiple aligned on the same side and want to control in which order they show

1 Like

Also make sure to check Device Emulator in Studio (if you are not sure how, try this tutorial https://youtu.be/7-RgeELjOXY )

still having the issue:(

what do i do??