Fix the starting position of VBoxLayout.

CCMAIL: lfranchi@gmail.com

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=698045
This commit is contained in:
Matias Valdenegro Toro 2007-08-08 20:37:59 +00:00
parent c89bd8f0bf
commit 0923b77b89

View File

@ -91,8 +91,7 @@ void VBoxLayout::setGeometry(const QRectF& geometry)
sizes.insert(indexOf(l),QSizeF(available.width(), expandHeight));
}
//QPointF start = geometry.topLeft();
QPointF start = QPointF(0.0f, 0.0f);
QPointF start = geometry.topLeft();
start += QPointF(margin(), spacing());
for (int i = 0; i < sizes.size(); i++) {