Alignment.
This commit is contained in:
parent
c031d239e5
commit
409bde6d1f
|
@ -108,7 +108,7 @@ void PartWidgetBase::positionChildren(const QWidget* destWidget, const Partition
|
||||||
|
|
||||||
qint64 totalLength = 0;
|
qint64 totalLength = 0;
|
||||||
foreach(const Partition * p, partitions)
|
foreach(const Partition * p, partitions)
|
||||||
totalLength += p->length();
|
totalLength += p->length();
|
||||||
|
|
||||||
// calculate unleveled width for each child and store it
|
// calculate unleveled width for each child and store it
|
||||||
for (int i = 0; i < partitions.size(); i++) {
|
for (int i = 0; i < partitions.size(); i++) {
|
||||||
|
|
Loading…
Reference in New Issue