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

Work around the root.geometry() bug #22

Merged
merged 2 commits into from
Dec 8, 2018

Conversation

BudgieInWA
Copy link
Contributor

This change works around #2 by automatically calling root.geometry() if misalignment is detected.

The underlying bug is that root.geometry('AxB+C+D') ignores C and D during overlay initialisation. We can detect if this has happened at some later time by comparing overlay_x to root.winfo_x().

@eoakley eoakley merged commit b2ad38c into eoakley:master Dec 8, 2018
@eoakley
Copy link
Owner

eoakley commented Dec 8, 2018

Nice. Approved.

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.

2 participants