Skip to content
Snippets Groups Projects
Commit baf26442 authored by Aurélie  AKLI's avatar Aurélie AKLI
Browse files

Update panelLogs.py

parent 52bdd04d
No related branches found
No related tags found
No related merge requests found
...@@ -24,8 +24,9 @@ def setTreeview(self, relY : float, relX : float, widtH : float, heighT : float ...@@ -24,8 +24,9 @@ def setTreeview(self, relY : float, relX : float, widtH : float, heighT : float
""" """
afficheLogs = ttk.Treeview(img3, columns = ("agent")) afficheLogs = ttk.Treeview(img3, columns = ("agent"))
afficheLogs.place(relheight=1,relwidth=1) afficheLogs.place(relheight=1,relwidth=1)
scroll = tk.Scrollbar(tv2,orient="vertical",command=tv2.yview) scroll = tk.Scrollbar(afficheLogs,orient="vertical",command=afficheLogs.yview)
afficheLogs.configure(yscrollcommand=scroll.set) afficheLogs.configure(yscrollcommand=scroll.set)
scroll.pack(side='right',fill='y')
afficheLogs.column ( "#0" , width = 10 , minwidth = 10 , stretch = True ) afficheLogs.column ( "#0" , width = 10 , minwidth = 10 , stretch = True )
afficheLogs.column ( "agent" , width = 150 , minwidth = 100 , stretch = True) afficheLogs.column ( "agent" , width = 150 , minwidth = 100 , stretch = True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment