mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-23 20:22:58 +03:00
TableBuilder has been fixed
This commit is contained in:
parent
9bd392f4ac
commit
1c2aed14f4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user