Slight table size difference in version 17

General TRichView support forum. Please post your questions here
Post Reply
MarkElder
Posts: 21
Joined: Tue Aug 28, 2012 7:43 pm

Slight table size difference in version 17

Post by MarkElder » Wed Aug 01, 2018 12:06 am

Hello,

I'm in the process of updating from an older version to 17.2.1 (also updating from Berlin to Tokyo).

I am seeing a slight difference in table cell heights between the versions. It's minor, but over the height of a page, I'm losing about three lines. I am doing a mail merge with some table heavy layouts. The difference in height is causing items to bump down to the next page.

The .rv files have not changed between the versions.

I don't have that may templates that are affected, so I can go edit them to gain the space back. But I can't find anything that fixes this. I can make the table smaller if I drop down to a smaller font, but my users won't let me do that.

I've attached an image showing the difference. This is our template editor showing the new file on the left compared to the original file on the right.

Is this expected? Is there anything I can change to pick back up those few pixels?

Thanks,

Mark
2018-07-31_17-59-51.png
2018-07-31_17-59-51.png (51.28 KiB) Viewed 561 times

MarkElder
Posts: 21
Joined: Tue Aug 28, 2012 7:43 pm

Re: Slight table size difference in version 17

Post by MarkElder » Wed Aug 01, 2018 12:08 am

Here is my example template file.
Attachments
main.rvf
(55.05 KiB) Downloaded 16 times

Sergey Tkachenko
Site Admin
Posts: 14119
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Slight table size difference in version 17

Post by Sergey Tkachenko » Wed Aug 01, 2018 7:45 am

Which version of TRichView did you use before?

MarkElder
Posts: 21
Joined: Tue Aug 28, 2012 7:43 pm

Re: Slight table size difference in version 17

Post by MarkElder » Wed Aug 01, 2018 2:29 pm

We were on 16.5 (and Berlin). The screenshot was taken by running our old build exe side by side with the new version.

Sergey Tkachenko
Site Admin
Posts: 14119
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Slight table size difference in version 17

Post by Sergey Tkachenko » Sun Aug 05, 2018 6:46 pm

I compared results of the new version and version 16.5.1 and they looks identical.
Maybe this is just a scaling issue, so it affects only displaying, not page format?


I loaded your file in the ScaleRichView\Demos\ActionTest\ demo, paused and checked in the "Evaluate\Modify" window:

Internal coordinates of the first table:
Form3.SRichViewEdit1.RichViewEdit.RVData.DrawItems[0].Top = 38
Form3.SRichViewEdit1.RichViewEdit.RVData.DrawItems[0].Height = 19
Internal coordinates of the second table:
Form3.SRichViewEdit1.RichViewEdit.RVData.DrawItems[0].Top = 57
Form3.SRichViewEdit1.RichViewEdit.RVData.DrawItems[0].Height = 287

These coordinates are the same in the both versions.

Post Reply