New feature - option to remove title bar from forms! Targets for Calendar buttons, hiding tabbed forms until completely built before showing,

This commit is contained in:
MikeTheWatchGuy 2018-09-05 19:57:32 -04:00
parent 86f2f17e24
commit ce352ea0bf
2 changed files with 39 additions and 13 deletions

View file

@ -1,9 +1,10 @@
import PySimpleGUI as sg
layout = [[sg.T('Calendar Test')],
[sg.CalendarButton('Choose Date', key='date')],
[sg.In('', size=(20,1))],
[sg.CalendarButton('Choose Date', target=(1,0), key='date')],
[sg.Ok(key=1)]]
form = sg.FlexForm('Calendar')
form = sg.FlexForm('Calendar', no_titlebar=True)
b,v = form.LayoutAndRead(layout)
sg.Popup(v['date'])