Open
Description
When the Sun Valley theme isn't loaded, I can change the text color of a label like this:
style.configure("Red.Label", foreground='red')
style.configure("Green.Label", foreground='green')
...
def send_all_KA(self):
for module in self.REVModules:
isAlive = module.sendKA()
if isAlive == False:
self.on_quit_button_callback()
self.Connected_Label.config(text='Disconnected', style='Red.Label')
else:
self.Connected_Label.config(text='Connected', style='Green.Label')
module.getStatus()
However, the text just stays white when the Sun Valley theme is used.
Metadata
Metadata
Assignees
Labels
No labels
Activity