always root to the origin. prevents auto-centering which works against the zooming
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742031
This commit is contained in:
parent
c3d71fb5f3
commit
b3a584ab04
1
view.cpp
1
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user