Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the 2D toolbar's Anchor menu highlight the anchor preset of the currently selected Control's anchor_preset #11792

Open
MadeScientist opened this issue Feb 17, 2025 · 0 comments · May be fixed by godotengine/godot#102992

Comments

@MadeScientist
Copy link

MadeScientist commented Feb 17, 2025

Describe the project you are working on

Godot itself.

Describe the problem or limitation you are having in your project

Everytime i try to use the toolbar's Anchor menu to adjust the current selected control node's anchor_preset, it always confuses me, because I cannot visually see the current selection from the toolbar. (I have to keep an eye on the game viewport to adjust anchor_preset)

anchor_preset.mp4

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Use highlighting or changing option's color of the current selected control node's anchor_preset option in the toolbar.
Or just keep the selected state from the last selection is well.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

Maintain this state until the next modification:
Image

If this enhancement will not be used often, can it be worked around with a few lines of script?

I don't know, I'm not very good at coding.

Is there a reason why this should be core and not an add-on in the asset library?

It's very useful, should be a core part of the engine.

@Calinou Calinou changed the title Enable the toolbar's Anchor menu to reflect (e.g. highlight) the anchor_reset of the currently selected control Node's anchor_preset Make the 2D toolbar's Anchor menu highlight the anchor preset of the currently selected Control's anchor_preset Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants