From 0923b77b896eae39b2a1c6e890ed8e7f9b682eca Mon Sep 17 00:00:00 2001 From: Matias Valdenegro Toro Date: Wed, 8 Aug 2007 20:37:59 +0000 Subject: [PATCH] Fix the starting position of VBoxLayout. CCMAIL: lfranchi@gmail.com svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=698045 --- widgets/vboxlayout.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/widgets/vboxlayout.cpp b/widgets/vboxlayout.cpp index 97c650aed..ed01fd344 100644 --- a/widgets/vboxlayout.cpp +++ b/widgets/vboxlayout.cpp @@ -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++) {