[patch] KDialog::centerOnScreen()

Aaron J. Seigo aseigo at kde.org
Tue Dec 27 18:25:41 GMT 2005


On Tuesday 27 December 2005 04:45, Jarosław Staniek wrote:
> Since KDE Kicker (and win32's "kicker") is "always on top", it could be
> better for centered dialogs to use availableGeometry() instead of
> screenGeometry(), to avoid covering them by Kicker (at least sometimes).

it will look visually odd to have a dialog "centered" on the screen using 
anything but the physical extent of the whole screen geometry. what ought to 
be done is to ensure that the calculation made based on screen geometry 
doesn't cause overlap due to a smaller available geometry. in that case the 
dialog should be shifted/resized to compensate.

-- 
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

Full time KDE developer sponsored by Trolltech (http://www.trolltech.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20051227/8c1de324/attachment.sig>


More information about the kde-core-devel mailing list