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:
parent
9820ed31aa
commit
777d23d06b
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user