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

Window resize fix (for orientation changes) #282

Merged
merged 1 commit into from
Sep 18, 2020

Conversation

rook828
Copy link
Contributor

@rook828 rook828 commented Sep 17, 2020

Manually setting the TK window geometry when the orientation changes was causing display issues, resulting in failure to extend the window horizontally and the window taking up extra space.

This fix removes manual geometry setting and allows the window manager to compute the correct window size based off the size of the menu bar and canvas, which in turn bases its size off of the scaled screenshot.

@rook828 rook828 changed the title Removed unnecessary manual window resizing to fix issues with display… Window resize fix (for orientation changes) Sep 17, 2020
Copy link
Owner

@dtmilano dtmilano left a comment

Choose a reason for hiding this comment

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

I think there was a reason for setting the geometry (perhaps an issue that may have been fixed on Tk)

@dtmilano dtmilano merged commit f73dae5 into dtmilano:master Sep 18, 2020
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