[Kde-games-devel] Centering a widget in a main window ?
Kleag
kleag at free.fr
Fri Feb 9 23:54:07 CET 2007
Hello,
I was finally able to reactivate scrolling in KsirK. But I still don't know
how to force my QGraphicsView widget (the only widget) to center on the
window when this one is greater than the view or, better, to don't allow the
window to grow larger than the size of the map... taking into account the
bottom dock widget and the toolbar.
Any idea ?
Regards,
Kleag
--
KsirK - a turn-based strategy game for KDE
http://gna.org/projects/ksirk
KGraphViewer - a GraphViz dot graphs viewer
http://extragear.kde.org/apps/kgraphviewer
More information about the kde-games-devel
mailing list