I'm writing a program with a black background and white foreground.
Everything ( Entries, labels, buttons ) work fine. But when I would make a checkbutton
, I also would like to make it with black bg
and white fg
. I don't know why, but bg="black" doesn't change indicator background ( that little box you are clicking at ) to black. And I can't see the state of checkbutton
.
checkbox is on, but I can't see it
Only when I move a cursor with pressed left button on it, I can see it states:
How can I fix this? Thanks.
Code of checkbutton:
self.encryptCheckButton = Checkbutton(self.root, text="Encrypt sended files?",
variable=self.encryptFile,
onvalue=1, offvalue=0,
bg="black", fg="white",
activebackground="black",
activeforeground="white")