LimeReport Forum
General Category | Основное => Discussion | Обсуждение => Topic started by: arvind.k@propixtech.com on July 10, 2018, 03:16:31 pm
-
We are using a Lime Report version 1.4.83
we have designed our custom report & called it from a application.
At the call of previewReport() , report shown in larger view.
We tried to call a method m_previewReportWidget->fitWidth(); from a constructor of PreviewReportWindow class or from previewReport() method of ReportEnginePrivate class but it's not showing any result at Report Rendering.
We also tried to set Scale Percentage of m_scalePercent QComboBox but it's also not reflecting at Report Rendering.
Please give a solution for the same.
-
Hi.
I have made new hotfix (1.4.86)
From now you can specify scaleType for previewWindow via
void ReportEngine::setPreviewScaleType(const ScaleType &previewScaleType, int percent = 0);
ScaleType can be: FitWidth, FitPage, OneToOne, Percents;
ScaleType by default is FitWidth
-
Thank you very much Arin Alex.
Its now working as per our application requirement.