How to expand nested dictionaries in the Inspector tab?

Godot Version

Godot 4.3, 4.4

Question

I’m working on a project that uses a resources in a couple of nested dictionaries. I have a Level Resource that contains a dictionary of world nodes, and each world node contains a dictionary of Interactions that are specific to that node. The issue is, when I use the inspector to create the resources, the new dictionary entries are fully expanded across the width of the Inspector tab.

But if I have to go back and edit a node or interaction inside the level resource, the columns are split evenly and the nested dictonaries get progressively smaller with no way to expand them that I can see.

I was hoping someone might know a way to expand the dictionaries again to take up the full width of the Inspector window. I like the resource system, but It’s really difficult to edit nodes or interactions when they’re restricted to 1/4 or 1/8 of the Inspector window.

Seems like a tough way to edit data even with the full inspector, I assume you can right click and “edit” the top-level resource to ensure it takes the full size, even for sub-resources.


I’d recommend making a plugin for your use case and/or reading text data from a text file instead.

For example could you format your room1 as a text file like so? And read it as JSON or a custom line-by-line format?

room1.json

{
"name": "Room 1",
"display": "A large blank empty white void.",
"interactions": {
    "int_1": {
        "display": "There is a doorway",
        "choice": "Go through doorway",
        "action": "You open the door"
    },
    "int_2": { ... }
}
}
1 Like

Yeah, I got tired of the restrictions imposed by the inspector and am working on building out a json or csv loader for my different datum.

Thanks for the suggestion though.