Bug fixes

This commit is contained in:
KRSHH 2024-09-16 20:36:28 +05:30 committed by GitHub
parent 88e3274d96
commit c49d0e0e3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -213,12 +213,12 @@ def create_root(
ctk.set_default_color_theme("blue")
root = tkdnd.TkinterDnD.Tk()
root.minsize(ROOT_WIDTH, ROOT_HEIGHT)
root.title(
f"{modules.metadata.name} {modules.metadata.version} {modules.metadata.edition}"
)
root.configure(bg="#1a1a1a")
root.protocol("WM_DELETE_WINDOW", lambda: destroy())
root.resizable(True, True)
main_frame = ctk.CTkFrame(root, fg_color="#1a1a1a")
main_frame.pack(fill="both", expand=True, padx=20, pady=20)