-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Implement DictionaryPropertyEdit . #12015
Conversation
There's a slight style issue with the ordering of the includes (it should be alphabetical), could you amend the commit to fix it? https://travis-ci.org/godotengine/godot/jobs/286360431 |
I don't think it is a good idea to show 4 rows in the inspector for each element of a dictionary. |
that interface seems very complicated for a simple task, maybe it would be better to wait until the inspector gets rewritten. |
IMO I can't find a way to implement a usable Dictionary inspector atm. If there's plan to rewrite inspector then maybe this should be postponed after that is done. |
@jagt the rewrite is planned for 3.1, so it might be better to wait after the release of 3 to discuss this |
@djrm ok. I'm closing this for now. |
Reopening as per discussion with reduz on IRC (click to expand)
The main points from the discussion are:
|
I did the same thing in #11940 it is designed to display remote dictionaries so it doesn't implement too much features as @bojidar-bg said. |
Superseded by #11940 which we are soon going to merge, but thanks a lot for the proposal, it helped with the design of how we want it to be. |
This PR implements
DictionaryPropertyEdit
for editting exported dictionary properties (#10018).Here's a screenshot:
However there're some usability issues which I really need some help from you guys:
size
field won't work atm as I don't see a way for this to work for a dictionary. So currently there's no way to add/remove new items through the inspector. I think the most common way to handle this is to add a button/widget to add new items, but I don't find a way to add button in inspector/.Most of the problems are related to key editing. Your input on this will be really helpful.