Python Forum
[PySimpleGUI] Tutorial - Name, Address, Phone GUI
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PySimpleGUI] Tutorial - Name, Address, Phone GUI
#20
(Aug-06-2018, 04:07 PM)metulburr Wrote: is there a way to override your initial window centering? When you have dual monitors with TV's its not fun searching for the window that you are expecting at (0,0)

Yes. There are 2 ways.

You can set location in the FlexForm call. You can also set it globally by calling SetOptions.

form = sg.FlexForm('My Form', location=(0,0))
or

sg.SetOptions(window_location=(0,0))
I'll add something in the documentation about that.
Reply


Messages In This Thread
RE: [PySimpleGUI] Tutorial - Name, Address, Phone GUI - by PySimpleGUI - Aug-06-2018, 04:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PySimpleGUI Try Except jamesaarr 1 1,977 Nov-18-2021, 02:02 PM
Last Post: jamesaarr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020