Hey,
Do you know anything about the phenomenon of dialogs appearing on the
top left corner of the screen on Mac? I'm not giving any position
argument. The dialogs appear in the center of the screen in Ubuntu and
Windows.
Ram.
···
--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en
I see the same thing, and I think it’s just the platform default setting - no idea why. You could probably just do this as a workaround:
if wx.Platform == “WXMAC” :
dlg.Centre(wx.BOTH)
-Nat
···
On Mon, May 17, 2010 at 2:34 PM, cool-RR ram.rachum@gmail.com wrote:
Do you know anything about the phenomenon of dialogs appearing on the
top left corner of the screen on Mac? I’m not giving any position
argument. The dialogs appear in the center of the screen in Ubuntu and
Windows.
–
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en
Did it now-- Works great. Thanks.
Ram.
···
On Mon, May 17, 2010 at 11:38 PM, Nathaniel Echols nathaniel.echols@gmail.com wrote:
On Mon, May 17, 2010 at 2:34 PM, cool-RR ram.rachum@gmail.com wrote:
Do you know anything about the phenomenon of dialogs appearing on the
top left corner of the screen on Mac? I’m not giving any position
argument. The dialogs appear in the center of the screen in Ubuntu and
Windows.
I see the same thing, and I think it’s just the platform default setting - no idea why. You could probably just do this as a workaround:
if wx.Platform == “WXMAC” :
dlg.Centre(wx.BOTH)
-Nat
–
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en