Use central table format for printing
This commit is contained in:
parent
a718113747
commit
6eb585b08c
14 changed files with 48 additions and 64 deletions
|
@ -63,9 +63,7 @@ std::string PluralModel::getName() const
|
|||
|
||||
void PluralModel::printTableTo(QTextCursor &cursor) const
|
||||
{
|
||||
QTextTableFormat tableFormat;
|
||||
tableFormat.setCellPadding(2);
|
||||
tableFormat.setCellSpacing(0);
|
||||
QTextTableFormat tableFormat = defaultTableFormat();
|
||||
|
||||
tableFormat.setColumnWidthConstraints({QTextLength(QTextLength::PercentageLength, 10),
|
||||
QTextLength(QTextLength::PercentageLength, 10),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue