remi icon indicating copy to clipboard operation
remi copied to clipboard

[PySimpleGUI] Changing the background color for a table

Open MikeTheWatchGuy opened this issue 6 years ago • 1 comments

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 avatar Mar 15 '19 19:03 MikeTheWatchGuy

@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.

dddomodossola avatar Mar 17 '19 13:03 dddomodossola