QTfrontend/hwform.cpp
changeset 6791 6907194f2c57
parent 6735 050237b1500f
child 6793 d62f25f5d6ce
--- a/QTfrontend/hwform.cpp	Sat Mar 17 14:24:43 2012 -0400
+++ b/QTfrontend/hwform.cpp	Sat Mar 17 16:14:08 2012 -0400
@@ -638,7 +638,7 @@
         //New page animation
         animationNewSlide = new QPropertyAnimation(ui.Pages->widget(id), "pos");
         animationNewSlide->setDuration(duration);
-        animationNewSlide->setStartValue(QPoint(width()/coeff, 0));
+        animationNewSlide->setStartValue(QPoint(20000/coeff, 0));
         animationNewSlide->setEndValue(QPoint(0, 0));
         animationNewSlide->setEasingCurve(QEasingCurve::OutExpo);
 
@@ -656,7 +656,7 @@
         animationOldSlide = new QPropertyAnimation(ui.Pages->widget(lastid), "pos");
         animationOldSlide->setDuration(duration);
         animationOldSlide->setStartValue(QPoint(0, 0));
-        animationOldSlide->setEndValue(QPoint(-width()/coeff, 0));
+        animationOldSlide->setEndValue(QPoint(-20000/coeff, 0));
         animationOldSlide->setEasingCurve(QEasingCurve::OutExpo);
 
 #ifdef false