mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-24 00:33:02 +03:00
Margins unit changed Millimeter -> Point
This commit is contained in:
parent
6e92feffa7
commit
f139dbc50b
@ -1850,7 +1850,7 @@ void PrintProcessor::initPrinter(PageItemDesignIntf* page)
|
|||||||
page->printerMarginTop(),
|
page->printerMarginTop(),
|
||||||
page->printerMarginRight(),
|
page->printerMarginRight(),
|
||||||
page->printerMarginBottom(),
|
page->printerMarginBottom(),
|
||||||
QPrinter::Millimeter);
|
QPrinter::Point);
|
||||||
}
|
}
|
||||||
m_printer->setOrientation(static_cast<QPrinter::Orientation>(page->pageOrientation()));
|
m_printer->setOrientation(static_cast<QPrinter::Orientation>(page->pageOrientation()));
|
||||||
if (page->pageSize()==PageItemDesignIntf::Custom){
|
if (page->pageSize()==PageItemDesignIntf::Custom){
|
||||||
|
Loading…
Reference in New Issue
Block a user