Skip to content
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

Inplace editing is possible only after updating visuals #50

Open
niello opened this issue Sep 20, 2021 · 0 comments
Open

Inplace editing is possible only after updating visuals #50

niello opened this issue Sep 20, 2021 · 0 comments

Comments

@niello
Copy link
Contributor

niello commented Sep 20, 2021

When calling propertyView()->setActiveProperty() sub-items are not created immediately. So if I send fake Enter key to the view synchronously it doesn't start inplace editing. I have to send it async at the next frame.

Is it possible to fix this? Is it also possible to create a method for triggering inplace editor without having user to send fake keyboard events? Would like something like this:

propertyView()->setActiveProperty(...);
propertyView()->startEditingActiveProperty(); // create inplace editor and focus on it

See also:
cegui/ceed-cpp@c7c2f3a#diff-583c1e7f1eb64f6f91c4b799dcca092a8388a8c63cca38f694237d404224cbbcR1352

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant