Use iconSize() function now that that function exists. This avoids having the margins in the dragger 2 pixels smaller then specified.
svn path=/trunk/KDE/kdelibs/; revision=894041
This commit is contained in:
parent
7a90f822a5
commit
9116edc392
@ -493,7 +493,7 @@ void ExtenderItem::resizeEvent(QGraphicsSceneResizeEvent *event)
|
||||
|
||||
//resize the dragger
|
||||
d->dragger->resizeFrame(QSizeF(width - d->bgLeft - d->bgRight,
|
||||
d->dragger->elementSize("hint-preferred-icon-size").height() +
|
||||
d->iconSize() +
|
||||
d->dragTop + d->dragBottom));
|
||||
|
||||
//resize the applet background
|
||||
|
Loading…
x
Reference in New Issue
Block a user