# HG changeset patch # User nemo # Date 1335579926 14400 # Node ID fe23137def16274b6fc56450be257fa94902fc83 # Parent 1fe601a2761be0e94f4ff76bd9f80434cdfdfa85 Ok, 20,000 was a bit much. Arbitrary multiplier that seems to shove things off enough. diff -r 1fe601a2761b -r fe23137def16 QTfrontend/hwform.cpp --- a/QTfrontend/hwform.cpp Sat Apr 28 00:24:37 2012 +0200 +++ b/QTfrontend/hwform.cpp Fri Apr 27 22:25:26 2012 -0400 @@ -644,7 +644,7 @@ //New page animation animationNewSlide = new QPropertyAnimation(ui.Pages->widget(id), "pos"); animationNewSlide->setDuration(duration); - animationNewSlide->setStartValue(QPoint(20000/coeff, 0)); + animationNewSlide->setStartValue(QPoint(this->width()*1.5/coeff, 0)); animationNewSlide->setEndValue(QPoint(0, 0)); animationNewSlide->setEasingCurve(QEasingCurve::OutExpo); @@ -662,7 +662,7 @@ animationOldSlide = new QPropertyAnimation(ui.Pages->widget(lastid), "pos"); animationOldSlide->setDuration(duration); animationOldSlide->setStartValue(QPoint(0, 0)); - animationOldSlide->setEndValue(QPoint(-20000/coeff, 0)); + animationOldSlide->setEndValue(QPoint(this->width()*1.5/coeff, 0)); animationOldSlide->setEasingCurve(QEasingCurve::OutExpo); #ifdef false