Where is Anchor Only GUI assignment?
Asked Answered
G

2

0

Godot used to allow us to set only the anchor for UI element, but it's not anywhere in Godot 4. Where are they now?


And no that anchor icon doesn't do anything. Toggling it then selecting the anchor doesn't do anything different either. And tried shift or ctrl or alt while setting the anchor like Unity but it doesn't seem to do anything different as well.

Godot assume I always wanted to also resize the UI element.

Gibson answered 20/11, 2023 at 17:7 Comment(0)
B
0

In the scene, click and drag the little green gizmos:

or change the anchor preset to "custom" which will allow you to edit it by numbers:

Being able to use key modifiers while sizing it would be nice, I must admit. You could suggest that feature to the community of Godot developers, or maybe someone already has at https://github.com/godotengine/godot-proposals/discussions

Benthamism answered 20/11, 2023 at 20:54 Comment(0)
G
0

Benthamism Unfortunately that's not what I'm looking for. We can already do that in Godot 3. But In Godot 3 we can ALSO set anchor only in just two mouse click, which is not possible to do in Godot 4.

Dragging the green gizmos is clunkier if we don't really need special position for the anchor. Editing the number one by one is also the same.

I'm not that interested in using key modifier to set anchor, I just want to assign anchor only, without resizing or moving the node.

Well, if this feature is truly gone, then I guess I will wrote a proposal to return it.

UPDATE: It was removed.

Gibson answered 21/11, 2023 at 14:37 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.