Zoom scaling is not working properly

Stimulsoft Reports.JS discussion
Post Reply
mono
Posts: 6
Joined: Tue Apr 16, 2024 3:29 pm

Zoom scaling is not working properly

Post by mono »

I have an issue when using Stimulsoft Reports.JS and displaying reports in browser with zoom.

The problem is that the table cells aren't correctly resized when they contain larger amounts of text, even though WordWrap and CanGrow properties are set to true.
When previewing the report in Stimulsoft Designer 2024.2.2, all the table cells seem to be resized according to given text.

I'm attaching a sample .mrt file that is previewed correctly in the desktop app, but has issues when rendered using Reports.JS engine and shown in browser, alongside some screen shots of the issue.
When inspecting elements in the browser(as seen in the attached screenshots), it is visible that the outer div containing the text has smaller height than the inner one, resulting in part of text being cut off.

I've also noticed that when the toolbar is visible and zoom is set to 100% (as shown in 100.png) the table cell is correctly resized and the text inside it fully shown. However, when I switch the zoom to 200% (200.png) so that the page is filled, the incorrect resize shows up again.

I am actually using Stimulsoft.Viewer.StiZoomMode.PageWidth option for zoom, but it can be reproduced using predefined zoom options.

I need my report to be dynamically resized according to available screen width, so if there are some other options to achieve this other than this zoom option, I can try that also.

Any advice on how to handle this issue, be it in designer or when rendering report in the browser, would be much appreciated. I'd be more than happy that provide more details if needed.
Thank you in advance!
Attachments
Stimulsoft - resize issue.zip
(567.85 KiB) Downloaded 87 times
Lech Kulikowski
Posts: 7332
Joined: Tue Mar 20, 2018 5:34 am

Re: Zoom scaling is not working properly

Post by Lech Kulikowski »

Hello,

We couldn't reproduce the issue. Please check the last release build.

Thank you.
Post Reply