godotengine / godot-proposals

Godot Improvement Proposals (GIPs)
MIT License
1.16k stars 97 forks source link

Add an editor setting to adjust the size of 2D manipulation gizmos #8636

Open ModuleCode opened 11 months ago

ModuleCode commented 11 months ago

Describe the project you are working on

Demo2D

Describe the problem or limitation you are having in your project

2D mobile Tools and ScaleTools have a very short grasp area, I think there should be an editor Settings option to let users set the length of ScaleTools and move tools

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

Adds the tool's length option to the editor Settings

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

This is just my idea (put this option in 2D), the actual situation can be discussed and decided image

Before

image

After

image

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

no

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

yes

ModuleCode commented 11 months ago

image The zoom tool is also small, and this should be added to the Settings too

AThousandShips commented 11 months ago

I'd call it Gizmo Scale or similar, as "length" doesn't make sense for all the gizmos, and is more direct

Calinou commented 11 months ago

I'd check first to make sure whether the 2D gizmos are scaled according to the editor scale (screenshots in OP use editor scale above 100%). If they aren't, that's a bug.

KoBeWi commented 11 months ago

There is already interface/touchscreen/scale_gizmo_handles, which affects at least some of the gizmos.

ModuleCode commented 11 months ago

emmm It just modifies the size of the selection pattern,

ModuleCode commented 11 months ago

image

image The Gizmo Scale is still small

AThousandShips commented 11 months ago

From a glance at the code EDSCALE is used, unsure if it is used ccorrectly though

EiTaNBaRiBoA commented 6 months ago

Also increase the size/width or edit lines in UI , Collision, and etc. it's very small

Calinou commented 6 months ago

Also increase the size/width or edit lines in UI , Collision, and etc. it's very small

This is being tracked in https://github.com/godotengine/godot-proposals/issues/9299.