Merge pull request #1430 from PySimpleGUI/Dev-latest
Changed how no_titlebar is implemented on linux
This commit is contained in:
commit
c0c582b492
|
@ -6136,7 +6136,10 @@ def ConvertFlexToTK(MyFlexForm):
|
|||
InitializeResults(MyFlexForm)
|
||||
try:
|
||||
if MyFlexForm.NoTitleBar:
|
||||
MyFlexForm.TKroot.wm_overrideredirect(True)
|
||||
if sys.platform == 'linux':
|
||||
MyFlexForm.TKroot.wm_attributes("-type","splash")
|
||||
else:
|
||||
MyFlexForm.TKroot.wm_overrideredirect(True)
|
||||
except:
|
||||
pass
|
||||
PackFormIntoFrame(MyFlexForm, master, MyFlexForm)
|
||||
|
|
Loading…
Reference in New Issue