From 5aeead54a6c721b4e19768835ee3670728ab496b Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Wed, 25 Dec 2019 09:55:22 -0500 Subject: [PATCH] Removed the css variable. --- DemoPrograms/Demo_Columns.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/DemoPrograms/Demo_Columns.py b/DemoPrograms/Demo_Columns.py index f55c0f37..77e45586 100644 --- a/DemoPrograms/Demo_Columns.py +++ b/DemoPrograms/Demo_Columns.py @@ -7,11 +7,10 @@ import PySimpleGUI as sg sg.theme('BlueMono') -css = {'text_color': 'white', 'background_color': 'blue'} # Column layout -col = [[sg.Text('col Row 1', **css)], - [sg.Text('col Row 2', **css), sg.Input('col input 1')], - [sg.Text('col Row 3', **css), sg.Input('col input 2')]] +col = [[sg.Text('col Row 1', text_color='white', background_color='blue')], + [sg.Text('col Row 2', text_color='white', background_color='blue'), sg.Input('col input 1')], + [sg.Text('col Row 3', text_color='white', background_color='blue'), sg.Input('col input 2')]] # Window layout layout = [[sg.Listbox(values=('Listbox Item 1', 'Listbox Item 2', 'Listbox Item 3'), select_mode=sg.LISTBOX_SELECT_MODE_MULTIPLE, size=(20, 3)),