I have a button, all is FINE black text and greenish khaki background/active background (#BAC15D)
I have a duplicated button, the ONLY changes are background and active background to reddish (#C14080)
Looks good, except when I hover/touch the red button the text is NOT black, its white (or something close)...when not at/on the button, the text is black.
I want black text AT ALL TIMES, NEVER EVER TO CHANGE FROM BLACK
After several hours, found that it seems related to setting the background and active background, somehow. Since if I set the duplicated button to BAC15D ...text is always black. With C14080 it is black only when the button is not touched...I also tried a bright green and the text is remains perfectly black then...strange???
What is going on? How do I maintain the black text at all times (specifically with C14080 button color)?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried to duplicate your problem from your text, and I see the issue you are having.
I will pass this along to Don to see if he can understand why this is happening and a potential fix.
Greg
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2022-06-27
I never thought tio inspeect what page is generating---it has a bug....here is some issue with page 7.3 the active fg is set to black , or #00000, but the generated page code is "white"
434 self.btnCTRLmode.place(x=60, y=890, height=85, width=380)
435 self.btnCTRLmode.configure(activebackground="#aa2753")
436 self.btnCTRLmode.configure(activeforeground="white")
437 self.btnCTRLmode.configure(background="#aa2753")
438 self.btnCTRLmode.configure(borderwidth="6")
ANOTHER issue, I changed the attribute from #000000 (black) to #010101 & it generates the code (and keep the near black color), however it ALSO generates white in the code...why would it generate active foreground TWICE?
435 self.btnCTRLmode.configure(activebackground="#aa2753")
436 self.btnCTRLmode.configure(activeforeground="white")
437 self.btnCTRLmode.configure(activeforeground="#010101")
438 self.btnCTRLmode.configure(background="#aa2753")
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a button, all is FINE black text and greenish khaki background/active background (#BAC15D)
I have a duplicated button, the ONLY changes are background and active background to reddish (#C14080)
Looks good, except when I hover/touch the red button the text is NOT black, its white (or something close)...when not at/on the button, the text is black.
I want black text AT ALL TIMES, NEVER EVER TO CHANGE FROM BLACK
After several hours, found that it seems related to setting the background and active background, somehow. Since if I set the duplicated button to BAC15D ...text is always black. With C14080 it is black only when the button is not touched...I also tried a bright green and the text is remains perfectly black then...strange???
What is going on? How do I maintain the black text at all times (specifically with C14080 button color)?
I tried to duplicate your problem from your text, and I see the issue you are having.
I will pass this along to Don to see if he can understand why this is happening and a potential fix.
Greg
By the way this is Python 3.9.2
page 7.3
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
kernel 5.15.32-v7l+
TCL 8.6
I never thought tio inspeect what page is generating---it has a bug....here is some issue with page 7.3 the active fg is set to black , or #00000, but the generated page code is "white"
434 self.btnCTRLmode.place(x=60, y=890, height=85, width=380)
435 self.btnCTRLmode.configure(activebackground="#aa2753")
436 self.btnCTRLmode.configure(activeforeground="white")
437 self.btnCTRLmode.configure(background="#aa2753")
438 self.btnCTRLmode.configure(borderwidth="6")
ANOTHER issue, I changed the attribute from #000000 (black) to #010101 & it generates the code (and keep the near black color), however it ALSO generates white in the code...why would it generate active foreground TWICE?
435 self.btnCTRLmode.configure(activebackground="#aa2753")
436 self.btnCTRLmode.configure(activeforeground="white")
437 self.btnCTRLmode.configure(activeforeground="#010101")
438 self.btnCTRLmode.configure(background="#aa2753")