Demo updates with new theme calls

This commit is contained in:
PySimpleGUI 2019-12-24 18:52:47 -05:00
parent 52700b0780
commit 5484b047c0
96 changed files with 3530 additions and 228 deletions

View file

@ -7,7 +7,7 @@ Shows how button states can be controlled by a user application. The program ma
states for buttons and changes the text color to show greyed-out (disabled) buttons
"""
sg.change_look_and_feel('Dark')
sg.theme('Dark')
sg.set_options(element_padding=(0, 0))
layout = [[sg.Text('User:', pad=((3, 0), 0)), sg.OptionMenu(values=('User 1', 'User 2'), size=(20, 1)), sg.Text('0', size=(8, 1))],