Butterfly icon indicating copy to clipboard operation
Butterfly copied to clipboard

[Feature request]: Anchor property

Open CodeDoctorDE opened this issue 8 months ago • 0 comments

Is your feature request related to a problem? Please describe

Scaling multiple elements could be problematic, if you put them in components, it can be a pain to use.

Describe your feature request!

Add anchors (like in godot) to all elements

Image

https://docs.godotengine.org/en/stable/tutorials/ui/size_and_anchors.html

Anchor may be 4 floating number between 0 and 1 (top, left, bottom, right) and is the percentage to use.

Additional context

We don't need to touch any renderer, just make the select tool aware of these anchors and handle them accordingly.

This issue is currently on the "future" label, if you want to implement this, feel free to write a message here.

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

CodeDoctorDE avatar Apr 17 '25 18:04 CodeDoctorDE