Thanks to visit codestin.com
Credit goes to github.com

Skip to content

FIX: Toolbar disappears in TkAgg if window if resized #11559

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

Merged
merged 2 commits into from
Jul 4, 2018
Merged

FIX: Toolbar disappears in TkAgg if window if resized #11559

merged 2 commits into from
Jul 4, 2018

Conversation

816-8055
Copy link
Contributor

@816-8055 816-8055 commented Jul 3, 2018

Should solve #6781
When toolbar is "packed" before canvas, it doesn't disappear when the window is resized.

Should solve #6781
When toolbar is "packed" before canvas, it doesn't disappear when the window is resized.
@tacaswell tacaswell added this to the v3.0 milestone Jul 4, 2018
@tacaswell tacaswell closed this Jul 4, 2018
@tacaswell tacaswell reopened this Jul 4, 2018
@tacaswell
Copy link
Member

Thanks @816-8055 !

@WeatherGod
Copy link
Member

Why is this the case? Could you add a comment in there explaining that the order of these commands is important and why?

@816-8055
Copy link
Contributor Author

816-8055 commented Jul 4, 2018

According to this post, widgets are being shrunk in the inverse packing order when space is insufficient inside a Tk window.

Added reason for change as a comment
Copy link
Member

@dstansby dstansby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 works for me, thanks a lot!

@dstansby dstansby merged commit 39824ac into matplotlib:master Jul 4, 2018
@tacaswell tacaswell modified the milestones: v3.0, v2.2.3 Jul 8, 2018
@tacaswell
Copy link
Member

@meeseeksdev backport to v2.2.x

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

Successfully merging this pull request may close these issues.

4 participants