Change start layout position topLeft point of the Geometry.

CCMAIL: panel-devel@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=698656
This commit is contained in:
Matias Valdenegro Toro 2007-08-10 16:04:26 +00:00
parent 9820ed31aa
commit 777d23d06b

View File

@ -88,7 +88,7 @@ void HBoxLayout::setGeometry(const QRectF& geometry)
sizes.insert(indexOf(l), QSizeF(expandWidth, available.height()));
}
QPointF start = QPointF(0.0f, 0.0f);
QPointF start = geometry.topLeft();
start += QPointF(margin(), spacing());
for (int i = 0; i < sizes.size(); i++) {