-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Ui Editable TextBox #12109
Comments
#12100 is very useful for this. |
This is a duplicate of #6213. Some broad UI goals / issues for specific widgets have been tracked here: https://github.com/orgs/bevyengine/projects/10 in the past.
Could you elaborate on the challenges you've faced implementing this? Because the same challenges will exist in-engine and we will want to work towards improving that. We should identify specific issues and try to fix them. For example: #11297. Cursors / selection are definitely difficult at the moment, though probably not impossible. I can't recall if #10193 would actually help with that. Doing this in-engine at this moment also seems difficult/blocked at the moment while we wait to see how #9538 turns out, which is a favored proposal for spawning widgets consisting of multiple entities. |
I'm thinking this isn't quite a duplicate. I'm asking for more than just input unicode text, I'm asking for a fully functioning textbox that you could expect to see on a website.
Trying to implement a Cursor as a blinking pipe within button text is not ideal. Using the button UI to help with selection. Keeping track in a nice neat way all the buffers for all the text boxes and switching between them was non-trivial for me. Adding keeping track of a cursor on top of that is additional complexity.
It seems this issue is blocked until #9538 is done/merged? |
I agree with the need for a fully featured textbox (including copy-paste, cursors, focus and more). That said, I think it'll be much easier to track this work if we avoid splitting the discussion. |
What problem does this solve or what need does it fill?
What solution would you like?
I'm proposing a textbox as a first-class UI element in Bevy.
Nice to have features:
What alternative(s) have you considered?
The text was updated successfully, but these errors were encountered: