From b3a584ab0430aca1dd0c7f73b91889333fb2b60e Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Mon, 26 Nov 2007 23:33:59 +0000 Subject: [PATCH] always root to the origin. prevents auto-centering which works against the zooming svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742031 --- view.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/view.cpp b/view.cpp index 058347811..1295b22a2 100644 --- a/view.cpp +++ b/view.cpp @@ -55,6 +55,7 @@ View::View(int screen, Corona *corona, QWidget *parent) //setCacheMode(QGraphicsView::CacheBackground); setInteractive(true); setAcceptDrops(true); + setAlignment(Qt::AlignLeft | Qt::AlignTop); setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);