godotengine / godot-proposals

Godot Improvement Proposals (GIPs)
MIT License
1.12k stars 69 forks source link

Horizontal layout options for other inspector types and centering property names #1711

Open Shadowblitz16 opened 3 years ago

Shadowblitz16 commented 3 years ago

Describe the project you are working on: rougelike

Describe the problem or limitation you are having in your project: I was just messing around with the editor looks and thought this would be a good idea

Describe the feature / enhancement and how it helps to overcome the problem or limitation: basically I am suggesting the equivalent of... Editor->EditorSettings->General->Interface->Inspector->HorizontalVectorTypesEditing for all exportable types.

this would allow us to choose between vertical or horizontal editing for all exported types.

I also suggest that we can toggle centering property names in vertical mode

Describe how your proposal will work, with code, pseudocode, mockups, and/or diagrams: I would think it would just be a editor option in the same place as the HorizontalVectorTypesEditing option.

If this enhancement will not be used often, can it be worked around with a few lines of script?: I would use it and idk about other people but it would be nice to have the whole inspector either vertical grouping or horizontal grouping.

Is there a reason why this should be core and not an add-on in the asset library?: its something that would allow a little most customization to the users.

Calinou commented 3 years ago

What types do you have in mind? I'm not sure if a purely horizontal editor for arrays or dictionaries makes sense…

Shadowblitz16 commented 3 years ago

I also want to suggest centering property names in vertical mode

here is a example of how lists and dictionaries could be represented image

I think I also have a suggestion on making lists and dictionaries look better.

Shadowblitz16 commented 3 years ago

I still think that the above should be done for list, dict, and flags the only difference is I think the label should be part of the rectangle image

for example instead of serialized property it would be a and b for above