fixed initial information label position

This commit is contained in:
Luis Ángel San Martín 2014-06-04 22:03:14 +02:00
parent cd4c86a80c
commit fe3cbf2efe

View File

@ -112,5 +112,10 @@ void PageLabelWidget::updatePosition()
{ {
return; return;
} }
move(QPoint((parent->geometry().size().width()-this->width()),this->pos().y()));
animation->stop();
if (animation->endValue().toPoint().y() == 0)
move(QPoint((parent->geometry().size().width()-this->width()),0));
else
move(QPoint((parent->geometry().size().width()-this->width()),-this->height()));
} }