Added an example of setting text coloir to white with red background.

This commit is contained in:
MikeTheWatchGuy 2019-07-19 22:32:46 -04:00
parent 70adb38fc6
commit 60fb9c2ac3
1 changed files with 1 additions and 1 deletions

View File

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