Closed ikus060 closed 1 month ago
@ElliotGarbus Did write a response to this ticket and then deleted it ? I got an email, but then your response is not here anymore.
Yes, I wrote a response - then realized I misunderstood the issue, and deleted it.
Ok.
Could I propose a fix for 2.3.0 branch ?
You don't need my permission, just issue a PR.
Software Versions
Describe the bug The color of label are not properly manage in regard to disable_color vs color.
If the "color" get updated when the widget is disabled, then the label is draw using the "color" value instead of using the "disabled_color" value.
Expected behavior When a label is disabled, it should always be draw using the disabled_color.
To Reproduce
Additional context Add any other context about the problem here.
Problem seams located in
label.py
. A special condition should be added to avoid replacing the 'color' if the widget is disabled.I suspect a similar issue with Button too.