QTfrontend/hwform.cpp
changeset 6944 fe23137def16
parent 6930 d187ea93fc4f
child 6952 7f70f37bbf08
--- 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