0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-23 16:22:58 +03:00

Margins unit changed Millimeter -> Point

This commit is contained in:
fralx 2020-05-18 12:45:18 +03:00
parent 6e92feffa7
commit f139dbc50b

View File

@ -1850,7 +1850,7 @@ void PrintProcessor::initPrinter(PageItemDesignIntf* page)
page->printerMarginTop(),
page->printerMarginRight(),
page->printerMarginBottom(),
QPrinter::Millimeter);
QPrinter::Point);
}
m_printer->setOrientation(static_cast<QPrinter::Orientation>(page->pageOrientation()));
if (page->pageSize()==PageItemDesignIntf::Custom){