CustomTkinter icon indicating copy to clipboard operation
CustomTkinter copied to clipboard

CTKEntry - Change background color when (state = 'readonly')

Open ivancasaof opened this issue 3 years ago • 1 comments

How can I change the background color of CTKEntry when state is 'readonly'?

Thanks.

ivancasaof avatar Nov 20 '22 13:11 ivancasaof

if my_entry.state == "readonly":
    my_entry.configure(fg_color="black")

Valid colors, info, etc: https://github.com/TomSchimansky/CustomTkinter/wiki/Themes#colors

Evolution0 avatar Nov 20 '22 14:11 Evolution0

Fixed now with version 5.0.2. Thanks for reporting this.

TomSchimansky avatar Dec 06 '22 22:12 TomSchimansky