Report Designer CanShrink/Shifting Issue

Stimulsoft Reports.JS discussion
BCS
Posts: 83
Joined: Thu Nov 17, 2016 5:47 am

Report Designer CanShrink/Shifting Issue

Post by BCS »

I'm trying to get values in the data band that are set as null or empty to shrink, I got them to hide already. However as you can see in the report the empty space remains. I would expect "Warnings" to be nearly flush, not empty space.

Can you describe to me how to shrink the empty space, CanShrink and Shifting have mixed results. If possible can you modify my report to reflect that with your explanation. I believe this is v2020.2.2. I'm also using the report designer app for Mac.

Note: You will have to re-import the JSON file.
Attachments
procedure.json
(4.36 KiB) Downloaded 111 times
ProcedureListing.mrt
(18.18 KiB) Downloaded 128 times
Lech Kulikowski
Posts: 6266
Joined: Tue Mar 20, 2018 5:34 am

Re: Report Designer CanShrink/Shifting Issue

Post by Lech Kulikowski »

Hello,

In that case, the optimal solution - is using DockStyle=Top or additional ChildBand components.

Thank you.
Attachments
ProcedureListing.mrt
(20.2 KiB) Downloaded 114 times
BCS
Posts: 83
Joined: Thu Nov 17, 2016 5:47 am

Re: Report Designer CanShrink/Shifting Issue

Post by BCS »

Almost there, this works okay but on the PDF export its cutting the text off unfortunately?
Attachments
Report.pdf
(62.64 KiB) Downloaded 118 times
Lech Kulikowski
Posts: 6266
Joined: Tue Mar 20, 2018 5:34 am

Re: Report Designer CanShrink/Shifting Issue

Post by Lech Kulikowski »

Hello,

Please clarify how do you export to pdf?

Also, please to check the last release build.

Thank you.
BCS
Posts: 83
Joined: Thu Nov 17, 2016 5:47 am

Re: Report Designer CanShrink/Shifting Issue

Post by BCS »

Save->Adobe PDF, I did it thru the Desktop designer if that makes a difference... I have not tried it yet via the JS in an app
Lech Kulikowski
Posts: 6266
Joined: Tue Mar 20, 2018 5:34 am

Re: Report Designer CanShrink/Shifting Issue

Post by Lech Kulikowski »

Hello,

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

Thank you.
Attachments
Annotation 2020-05-21 104903.png
Annotation 2020-05-21 104903.png (473.45 KiB) Viewed 2133 times
BCS
Posts: 83
Joined: Thu Nov 17, 2016 5:47 am

Re: Report Designer CanShrink/Shifting Issue

Post by BCS »

I believe this solved all the issues.
BCS
Posts: 83
Joined: Thu Nov 17, 2016 5:47 am

Re: Report Designer CanShrink/Shifting Issue

Post by BCS »

Actually looking closer, it appears that components aren't following the set font, these are fields with no HTML Tags allowed and are set to Arial 12pt but if you hover the browser dev tools over it, it says that its Arial 16pt. This is the Description field for instance. This is at 100% zoom, if I zoom to 75% its correct... Is this working as intended?
Lech Kulikowski
Posts: 6266
Joined: Tue Mar 20, 2018 5:34 am

Re: Report Designer CanShrink/Shifting Issue

Post by Lech Kulikowski »

Hello,

We couldn't reproduce the issue. Please provide more detailed information.

Thank you.
BCS
Posts: 83
Joined: Thu Nov 17, 2016 5:47 am

Re: Report Designer CanShrink/Shifting Issue

Post by BCS »

The issue ended up being the style that was set in the Conditions dialog, it has its own font, size, etc settings that are applied if the condition is triggered.

At the moment we are trying to deal with an issue with our HTML editor inserting new <p> tags every time we press enter, each time it'll create a <p><br><p> which cause huge spacing issues due to the inherit padding of a <p> tag. I don't think there is anything you guys can do about this though.
Post Reply