From 60fb9c2ac369c9e11a3a88ea2c2d08c8dceecce0 Mon Sep 17 00:00:00 2001 From: MikeTheWatchGuy Date: Fri, 19 Jul 2019 22:32:46 -0400 Subject: [PATCH] Added an example of setting text coloir to white with red background. --- DemoPrograms/Demo_Table_Element.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DemoPrograms/Demo_Table_Element.py b/DemoPrograms/Demo_Table_Element.py index b58da56c..4a2eac26 100644 --- a/DemoPrograms/Demo_Table_Element.py +++ b/DemoPrograms/Demo_Table_Element.py @@ -48,7 +48,7 @@ while True: data.append(data[i]) window.FindElement('_table_').Update(values = data) elif event == 'Update': - window.FindElement('_table_').Update( row_colors=((8,'red'), (9,'black'))) + window.FindElement('_table_').Update( row_colors=((8,'white', 'red'), (9,'black'))) # sg.Popup(event, values) # print(event, values)