[patch] KDialog::centerOnScreen()

Jaroslaw Staniek js at iidea.pl
Wed Jan 18 11:19:07 GMT 2006


Gregory Hayes said the following, On 2006-01-03 05:39:
> I agree! I have a two screen setup and the first time login dialog in trunk
> creates a window which is centered based on the total computed geometry of
> both displays. It is very difficult to use a dialog split between two
> monitors, or resize a beast that big easily. I personally believe we should
> center/size dialogs based on the size of the physical screen. Perhaps, we
> should not even let them be larger that a single physical display.

Take a look at the Qt docs: availableGeometry() is a subrect of 
screenGeometry(), so I guess my fix is not related to your problem.

-- 
regards / pozdrawiam,
  Jaroslaw Staniek / OpenOffice Polska

  Kexi Developer:      http://www.kexi-project.org | http://koffice.org/kexi
  Kexi Support:        http://www.kexi-project.org/support.html
  Kexi For MS Windows: http://kexi.pl/wiki/index.php/Kexi_for_MS_Windows
  KDE3, KDE4 Libraries For Developing MS Windows Applications:
                       http://www.kdelibs.com/wiki




More information about the kde-core-devel mailing list