Buttons appear in wrong positions in laptops

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By GameSchool

Hi

In my game, buttons appear in different locations than the locations I entered in the editor. For example, a button in position -91, -88 appeared in 300, -88. Happened to all the buttons only in laptops (in PCs everything is fine)

Any idea what did I do wrong?

Thanks

:bust_in_silhouette: Reply From: jgodfrey

This is almost assuredly related to how you’ve elected to anchor your UI controls. It’s a fairly complex topic, but one you should take the time to understand. You can start here:

… and, as you might expect, there are lots of YouTube tutorials available on the basics of Godot’s UI system.