-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
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
Conversation
Should solve #6781 When toolbar is "packed" before canvas, it doesn't disappear when the window is resized.
Thanks @816-8055 ! |
Why is this the case? Could you add a comment in there explaining that the order of these commands is important and why? |
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
There was a problem hiding this 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!
@meeseeksdev backport to v2.2.x |
…n-v2.2.x Backport PR #11559 on branch v2.2.x
Should solve #6781
When toolbar is "packed" before canvas, it doesn't disappear when the window is resized.