-
-
Notifications
You must be signed in to change notification settings - Fork 21k
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
Auto-complete popup is not big enough #16542
Comments
I had a similar issue #4704 it can be closed if this one is fixed. |
Another case where I edited this bit: Line 1257 in e949230
To basically just straight up use the actual size it calculates instead of clamp it to a max size with MIN as it does atm, shown here with an absurdly deep hierarchy: With the way this looks, it would probably much more sane to properly adjust the size of the strings to some form like All thoughts welcome! .. went back and read through #4704, so Accomplishing something like this: doesn't seem too difficult, but should it break "anywhere" or should it respect "full nodes" and not just cut the string in half, regardless of if it overlaps a node name or not, ie the difference between: Paging @akien-mga for feedback before i PR anything :) (ignore this akien, i'll work it out!) |
ty @Zylann for making this!! was just about to create an issue maybe a toggleable setting in the editor to fill the auto-complete popup to 100% size (dependent on the text inside)? not sure |
@AlexHolly Is h_scroll_bar responding to left and right arrows as well? Then it seems to be fixing #4704 as well IMO. |
Issue is #4704 fixed previous post. |
But if mouse is necessary for this to work also shortening with |
So I kind of just left this and forgot about it, but I did have a version working that showed both ends of the node path and had "..." in the middle, as that seemed the most useful path to go, maybe an option added to ProjectSettings to set the max length of the autocomplete popup could be nice as well so we can have a reasonable default length but then people can configure it if they want something specific. (this is as well as the ... thing, but maybe I can make the second part another PR) |
@profan Bump. Could you make a pull request with your changes? If you don't have time to do this, could you commit something to your fork and link it here so someone else can continue working on it? Thanks in advance 🙂 |
@Calinou Absolutely, sorry I left this for a while in the midst of other things, I'll take a look at it again in a few days 👍 (and PR what I'd done) |
Godot 3.0
When getting nodes from a form, I ended up with paths too long for the auto-completion box:
Maybe it should expand if paths are too big?
The text was updated successfully, but these errors were encountered: