0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-24 00:33:02 +03:00

TableBuilder has been fixed

This commit is contained in:
Arin Alexander 2019-02-27 22:34:34 +03:00
parent 9bd392f4ac
commit 1c2aed14f4

View File

@ -1881,6 +1881,7 @@ QObject* TableBuilder::addRow()
checkBaseLayout();
if (m_baseLayout && m_patternLayout){
HorizontalLayout* newRow = new HorizontalLayout(m_baseLayout, m_baseLayout);
newRow->setLayoutSpacing(m_horizontalLayout->layoutSpacing());
for(int i = 0; i < m_horizontalLayout->childrenCount(); ++i){
BaseDesignIntf* item = dynamic_cast<BaseDesignIntf*>(m_patternLayout->at(i));
BaseDesignIntf* cloneItem = item->cloneItem(item->itemMode(), newRow, newRow);