Open SantaSpeen opened 3 days ago
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:
But if i use:
ctk.deactivate_automatic_dpi_awareness()
All is good, window centering normal But image so dirty
login_box.py: login_box.zip
I use _center to center the window, however this happens: without: