|
@@ -30,7 +30,7 @@ class LogScreen(tk.Frame):
|
|
|
self.quit_button = tk.Button(self, text="Close", command=self.close, height=2, width = 10)
|
|
|
self.quit_button.pack(side="right", fill="both")
|
|
|
|
|
|
- self.disable_refresh_button = tk.Button(self,text="disable refreshing", command=self.toggle_refreshing, height=2, width=20, relief="raised", bg="green", fg="white")
|
|
|
+ self.disable_refresh_button = tk.Button(self,text="disable refreshing", command=self.toggle_refreshing, height=2, width=20, relief="raised", bg="green", activebackground="#00dd00", fg="white")
|
|
|
self.disable_refresh_button.pack(side="right", fill="both")
|
|
|
|
|
|
for element in self.log_handler.get_log_list():
|
|
@@ -56,6 +56,6 @@ class LogScreen(tk.Frame):
|
|
|
def toggle_refreshing(self):
|
|
|
self.disable_refresh = not self.disable_refresh
|
|
|
if self.disable_refresh:
|
|
|
- self.disable_refresh_button.config(text="Enable refresh", relief="sunken", bg="red")
|
|
|
+ self.disable_refresh_button.config(text="Enable refresh", relief="sunken", background="#ee0000", activebackground="#ff0000")
|
|
|
else:
|
|
|
- self.disable_refresh_button.config(text="Disable refresh", relief="raised", bg="green")
|
|
|
+ self.disable_refresh_button.config(text="Disable refresh", relief="raised", background="green", activebackground="#00dd00")
|