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

layout: just remove child widget #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tchx84
Copy link
Contributor

@tchx84 tchx84 commented Dec 7, 2016

There are cases where we want to remove a widget, and add
it back later. Make sure to don't destroy the child widget
and just remove it.

There are cases where we want to remove a widget, and add
it back later. Make sure to don't destroy the child widget
and just remove it.
@tchx84
Copy link
Contributor Author

tchx84 commented Dec 7, 2016

After discussing with @ebassi, decided that the way of doing this would be to remove the widget from the layout child first, and then remove layout child from the layout.

@tchx84 tchx84 closed this Dec 7, 2016
@tchx84 tchx84 reopened this Dec 7, 2016
@tchx84
Copy link
Contributor Author

tchx84 commented Dec 7, 2016

@ebassi just in case we don't find another solution for identifying the constraints on removal.

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

Successfully merging this pull request may close these issues.

1 participant