![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | GeKKon |
Hello everyone!
In Godot 4 I can not find margin settings for control.
What I am doing wrong?
Thanks!
![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | GeKKon |
Hello everyone!
In Godot 4 I can not find margin settings for control.
What I am doing wrong?
Thanks!
![]() |
Reply From: | zhyrin |
Under Layout > Layout Mode select Anchors.
If you select Custom as the Anchor Preset, you can manually change the anchor points and the anchor offsets.
I believe these offsets are what were knows as margins.
I see you are using the center bottom preset. If you set the preset to custom, it’s values will be based on the previously selected preset, so you’ll only need to update the offsets/margins
Hello! Thanks for the answer. Looks your are right.
Also I found a next suggestion:
Remove the anchors and margin workflow from Control nodes, and move the feature to containers. · Issue #4994 · godotengine/godot-proposals · GitHub
GeKKon | 2023-02-16 14:30