remi
remi copied to clipboard
[PySimpleGUI] Changing the background color for a table
I am able to change the text color for my tables. Nice!
When I try to change the background color, the "usual" method isn't working.
Normally, I change the background color for widgets with this line of code:
widget.style['background-color'] = element.BackgroundColor
But it's not working with the table.
@MikeTheWatchGuy you should set the color for the table cells. If you would like to do it automatically, you can setup the colors in css.