We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
def _center(self): self.update_idletasks() width = self.winfo_width() height = self.winfo_height() x = (self.winfo_screenwidth() // 2) - (width // 2) y = (self.winfo_screenheight() // 2) - (height // 2) self.geometry(f"{width}x{height}+{x}+{y}")
I use _center to center the window, however this happens: without:
The text was updated successfully, but these errors were encountered:
But if i use:
ctk.deactivate_automatic_dpi_awareness()
All is good, window centering normal But image so dirty
Sorry, something went wrong.
login_box.py: login_box.zip
No branches or pull requests
I use _center to center the window, however this happens:
without:
The text was updated successfully, but these errors were encountered: