diff -r 6c0ec0ccd2d4 -r 645b870db620 ganeswidgets/src/hgcontainer.cpp --- a/ganeswidgets/src/hgcontainer.cpp Fri Aug 06 09:27:34 2010 +0300 +++ b/ganeswidgets/src/hgcontainer.cpp Mon Aug 23 13:45:39 2010 +0300 @@ -456,7 +456,7 @@ { Q_UNUSED(option) Q_UNUSED(widget) - + // update spring position at paint if needed, // this is hack for scrollbar, since dragging it // causes also paint events in here @@ -470,7 +470,6 @@ QPainter::RenderHints hints = painter->renderHints(); painter->setRenderHint(QPainter::SmoothPixmapTransform, true); - // interpolate spring velocity towards zero, this is done // so that spring velocity for rendering doesn't drop directly to // zero when dragging starts @@ -554,6 +553,8 @@ { FUNC_LOG; + setFlag( QGraphicsItem::ItemClipsToShape, true ); + mRenderer = createRenderer(scrollDirection); mOrientation = scrollDirection; @@ -698,7 +699,7 @@ { if (mRenderer->coverflowModeEnabled() || !mSpring.isActive()) { mIgnoreGestureAction = false; - + if (mHandleLongPress) { if (mRenderer->coverflowModeEnabled()) { // in coverflow mode we react to longtap only if animation is not on and