-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
I'm using Treeview in CTK and I got a red dot bug because I hid my User ID data.
style = ttk.Style(account_gui)
style.configure("Treeview", font=("Arial", 12), rowheight=40,borderwidth=0, highlightthickness=0)
style.configure("Treeview.Heading", font=("Arial Bold", 12))
table_account = ttk.Treeview(FRight,columns=("ID_EM","ID","Username","Level","Employee","First_Name","Last_Name","Password","Address","Contact"),show="headings")
scrollbar = ttk.Scrollbar(FRight, orient="vertical", command=table_account.yview)
table_account.configure(yscrollcommand=scrollbar.set)
scrollbar.pack(side="right", fill=Y)
table_account.heading("ID",text="ID")
table_account.heading("Username",text="Username")
table_account.heading("Level",text="Level")
table_account.heading("Employee",text="Employee")
table_account.column("ID_EM",width=0,stretch=False)
table_account.column("ID",width=30,anchor=CENTER)
table_account.column("Username",width=100,anchor=CENTER)
table_account.column("Level",width=30,anchor=CENTER)
table_account.column("Employee",width=100,anchor=CENTER)
table_account.column("First_Name",width=0,stretch=False)
table_account.column("Last_Name",width=0,stretch=False)
table_account.column("Password",width=0,stretch=False)
table_account.column("Address",width=0,stretch=False)
table_account.column("Contact",width=0,stretch=False)
table_account.pack(fill=BOTH,expand=True,pady=20,padx=20)
Metadata
Metadata
Assignees
Labels
No labels