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
How to remove a rendered widget? #16
Comments
Call |
Thank you. This has helped me remove weird offset I was using. However, I have two more related questions.
|
Yes, that is correct, the child still exists in the Element tree preventing you from having an identical Hero. I'm not sure if the framework allows you to create and destroy a child in the same layout pass, that requires some more testing. |
Thank you for your help and this project. There is a lot to learn for me in this codebase. You can close this issue, my query is answered. |
In
onLayout()
, I have some code like this:I am using
sourceSize
to determinesource
's size and apply this size to another widget. This is working for me. But, I want to removesource
completely instead of hiding it at(-10000, 0)
. How can I do this?The text was updated successfully, but these errors were encountered: