CanGrow does not work properly

Stimulsoft Reports.NET discussion
Post Reply
IskandarAir
Posts: 105
Joined: Thu Aug 17, 2017 12:07 pm

CanGrow does not work properly

Post by IskandarAir »

Dear Stimulsoft team,

The issue is the following: We have text cell with value (from date and to date [12/11/2017- 30/11/2017]). When the text does not fit into cell, text position over text cell, so part of it becomes invisible. We set properties can Grow, grow Height, text wrapping to true. But still, it does not grow to fit the text of it. Important to note: we can't set fontToFit or can shrink, because client has already set font-size which we are not allowed to minimize

Regards,
Iskandar
Attachments
overSizedText.PNG
overSizedText.PNG (37.26 KiB) Viewed 2312 times
Design Screen Shot
Design Screen Shot
DesignSS.PNG (206.3 KiB) Viewed 2312 times
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: CanGrow does not work properly

Post by HighAley »

Hello, Iskandar.

If you can't change the size of the font, you could try to change the width of the text component.
Please, check the Can Grow property of the Data band.

Thank you.
IskandarAir
Posts: 105
Joined: Thu Aug 17, 2017 12:07 pm

Re: CanGrow does not work properly

Post by IskandarAir »

Hello,

Yes, we checked and there is canGrow property set to true for DataBand. Is there any other option than changing the width of the text component? Why canGrow does not work to fit the content (does not grow enough to fit the text of the component)?

regards,
Iskandar
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Re: CanGrow does not work properly

Post by Edward »

Hi Iskandar,

Sorry if you already tried it obviously, but could you please check that CanGrow was set to true for the DataBand Itself, as it looks like its height needs to be increased as well.

Also if the issue is still there, do you mind to attach the report template or the reduced mrt template of the report only with that problematic bit, so we could reproduce the problem?

Thank you,
Edward
IskandarAir
Posts: 105
Joined: Thu Aug 17, 2017 12:07 pm

Re: CanGrow does not work properly

Post by IskandarAir »

Hi Edward,

Thanks for support. This is really hard to produce. Our report is quite dynamic. So simple report will not help. Well, I tried with this option and though did not succeed. It works for most cases. Like when font-size 7 or when size of the page is slightly bigger and so on.
We ended up with different solution.

Thanks in anyways,
Iskandar
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Re: CanGrow does not work properly

Post by Edward »

Hi Iskandar,

No problem, please let us know if you need any help.

Thank you,
Edward
Post Reply