disable overflow borders

svn path=/trunk/KDE/kdelibs/; revision=1184912
This commit is contained in:
Marco Martin 2010-10-11 20:00:04 +00:00
parent 395cd8e146
commit 65acd2bfda

View File

@ -104,6 +104,7 @@ Extender::Extender(Applet *applet)
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
d->scrollWidget = new ScrollWidget(this);
d->scrollWidget->setOverflowBordersVisible(false);
d->scrollWidget->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
d->mainWidget = new QGraphicsWidget(d->scrollWidget);
d->scrollWidget->setWidget(d->mainWidget);