Hi,
On Ubuntu, I have noticed frame.CentreOnScreen(wx.BOTH) has trouble with dual monitors. The frame is centred vertically, but appears tight against the left side of the right-most monitor. Which makes sense, I guess, but I would prefer to be able to centre it horizontally against the left-most monitor.
Has anyone else experienced this? Any ideas if it within the control of wx.Python or not?
All the best, Grant
(2560, 1024) which, I guess, says it all.
···
On Aug 1, 6:09 am, Mike Driscoll <kyoso...@gmail.com> wrote:
Hi Grant,
On Jul 31, 3:12 am, Grant Paton-Simpson <gr...@p-s.co.nz> wrote:
> Hi,
> On Ubuntu, I have noticed frame.CentreOnScreen(wx.BOTH) has trouble
> with dual monitors. The frame is centred vertically, but appears tight
> against the left side of the right-most monitor. Which makes sense, I
> guess, but I would prefer to be able to centre it horizontally against
> the left-most monitor.
> Has anyone else experienced this? Any ideas if it within the control of
> wx.Python or not?
> All the best, Grant
What does wx.GetDisplaySize() return? Is it just the size of the
primary monitor or the combined screen real estate? I seem to recall
discussing this a bit with Andrea on this list about a year ago, but I
don't think he ever said what he was doing. On windows, I just get the
size of the primary monitor with that call.
- Mike
pyGrant escribió:
(2560, 1024) which, I guess, says it all.
Hi Grant,
Hi,
On Ubuntu, I have noticed frame.CentreOnScreen(wx.BOTH) has trouble
with dual monitors. The frame is centred vertically, but appears tight
against the left side of the right-most monitor. Which makes sense, I
guess, but I would prefer to be able to centre it horizontally against
the left-most monitor.
Has anyone else experienced this? Any ideas if it within the control of
wx.Python or not?
Hi, I've suffered this problem too. But that was in my workstation (where I have 2 monitors); I thought that was very likely that my client didn't have more than 1, so I got over that behavior.
I think we can add a ticket in trac.wxwidgets.org...
Regards
···
On Aug 1, 6:09 am, Mike Driscoll <kyoso...@gmail.com> wrote:
On Jul 31, 3:12 am, Grant Paton-Simpson <gr...@p-s.co.nz> wrote:
--
Marcelo F. Fernández
Buenos Aires, Argentina
Licenciado en Sistemas de Información - CCNA
E-Mail: marcelo.fidel.fernandez@gmail.com
Jabber ID: fernandezm22@jabber.org
Public Key ID: 5C990A6C 111C3661
Blog: http://blog.marcelofernandez.info
I'd like to add a related dual-monitor issue:
* two monitors, 2nd with lower vertical resolution
* python app running on 2nd monitor
* brings up a dialog with no parent (should be centered on screen)
* dlg is centered using the vertical resolution of the primary
monitor; as the dialog is big, the bottom is off-screen
Phil
···
On Jul 31, 1:12 am, Grant Paton-Simpson <gr...@p-s.co.nz> wrote:
Hi,
On Ubuntu, I have noticed frame.CentreOnScreen(wx.BOTH) has trouble
with dual monitors. The frame is centred vertically, but appears tight
against the left side of the right-most monitor. Which makes sense, I
guess, but I would prefer to be able to centre it horizontally against
the left-most monitor.
Has anyone else experienced this? Any ideas if it within the control of
wx.Python or not?
All the best, Grant
I have done my best: wxTrac has been migrated to GitHub Issues - wxWidgets
···
On Aug 4, 7:22 am, Robin Dunn <ro...@alldunn.com> wrote:
Phil Mayes wrote:
> On Jul 31, 1:12 am, Grant Paton-Simpson <gr...@p-s.co.nz> wrote:
>> Hi,
>> On Ubuntu, I have noticed frame.CentreOnScreen(wx.BOTH) has trouble
>> with dual monitors. The frame is centred vertically, but appears tight
>> against the left side of the right-most monitor. Which makes sense, I
>> guess, but I would prefer to be able to centre it horizontally against
>> the left-most monitor.
>> Has anyone else experienced this? Any ideas if it within the control of
>> wx.Python or not?
>> All the best, Grant
> I'd like to add a related dual-monitor issue:
> * two monitors, 2nd with lower vertical resolution
> * python app running on 2nd monitor
> * brings up a dialog with no parent (should be centered on screen)
> * dlg is centered using the vertical resolution of the primary
> monitor; as the dialog is big, the bottom is off-screen
Please create a wxTrac ticket about this.
--
Robin Dunn
Software Craftsmanhttp://wxPython.org