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

fileselector: divided to header,body, and footer. #68

Merged
merged 4 commits into from
Feb 21, 2018

Conversation

yxqd
Copy link
Member

@yxqd yxqd commented Feb 21, 2018

This PR fixes the bug that @JeanBilheux found: the widget will always be at the end of all widgets when user change dir by clicking "Jump" or "Enter" buttons.
The reason was that the implementation remove the whole widget and create a new one and display it when change directory.

In this PR, we change the implementation so that the widget is divided to header, body and footer.
When changing dir, only the body got replaced. This way the widget will stay in the same place.

Also added "custom_layout" keyword argument so that the layout can be customized.

when changing dir, only the body got replaced. This way the widget will stay in the same place.
otherwise the widget always goes to the end of all widgets
@yxqd yxqd merged commit 5dd5b64 into master Feb 21, 2018
@yxqd yxqd deleted the fileselector-stay-in-place branch February 21, 2018 17:02
@yxqd yxqd mentioned this pull request Feb 21, 2018
5 tasks
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