TextBox WordWrap CanGrow not working

Stimulsoft Reports.WEB discussion
ecpmiranda
Posts: 52
Joined: Sun Jun 05, 2016 9:35 pm

TextBox WordWrap CanGrow not working

Post by ecpmiranda »

TextBoxes on my report with CanGrow=false and WordWrap=false are growing. I want textbox not to grow.
Am I doing something wrong?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: TextBox WordWrap CanGrow not working

Post by Alex K. »

Hello,

Can you please describe your issue in more details.
Also, please send us a sample which reproduces the issue for analysis. Also, please clarify which component do you use?

Thank you.
ecpmiranda
Posts: 52
Joined: Sun Jun 05, 2016 9:35 pm

Re: TextBox WordWrap CanGrow not working

Post by ecpmiranda »

Please, take a look at the image attached.
Attachments
TextBoxGrowing.jpg
TextBoxGrowing.jpg (148.78 KiB) Viewed 5925 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: TextBox WordWrap CanGrow not working

Post by HighAley »

Hello.

We set the size of the component right, but browser can change the size of the component to show all text.
Please, try to set next static option:

Code: Select all

StiOptions.Export.Html.UseStrictTableCellSize = false;
If you still have an issue we need to get additional information:
1. What Viewer do you use?
2. Which version?
3. Send us your report template.
4. Send us data for the report template to render it and reproduce the issue.
5. What additional settings of the Viewer did you set?

Thank you.
ecpmiranda
Posts: 52
Joined: Sun Jun 05, 2016 9:35 pm

Re: TextBox WordWrap CanGrow not working

Post by ecpmiranda »

I tried the option but still growing textbox height

TRIAL VERSION
In ASPX <%@ Register Assembly="Stimulsoft.Report.Mobile, Version=2016.1.0.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a" Namespace="Stimulsoft.Report.Mobile" TagPrefix="cc1" %>

In References: Stimulsoft.Report.Mobile Runtime Version v4.0.30319

Just to mention, this month we intend to buy commercial version, we have already decided for Stimulsfot Reports!! Great tool!
ecpmiranda
Posts: 52
Joined: Sun Jun 05, 2016 9:35 pm

Re: TextBox WordWrap CanGrow not working

Post by ecpmiranda »

Try changing width of field CURSO: or any other you will see the problem.
Attachments
rptFichaMatricula2.mrt
(155.48 KiB) Downloaded 461 times
dadosXML.xml
(5.89 KiB) Downloaded 366 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: TextBox WordWrap CanGrow not working

Post by Alex K. »

Hello,

Please check that you set the following option:
StiOptions.Export.Html.UseStrictTableCellSize = true;

Thank you.
Attachments
Capture.PNG
Capture.PNG (25.31 KiB) Viewed 5912 times
ecpmiranda
Posts: 52
Joined: Sun Jun 05, 2016 9:35 pm

Re: TextBox WordWrap CanGrow not working

Post by ecpmiranda »

I set "StiOptions.Export.Html.UseStrictTableCellSize = true" and works fine for this report, but I have another report that is a simple list and some vertical lines (white color) appears between columns as you can see in the image attached. Is there anything else to do?
Attachments
WhiteVerticalLines.jpg
WhiteVerticalLines.jpg (279.91 KiB) Viewed 5908 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: TextBox WordWrap CanGrow not working

Post by HighAley »

Hello.

This is a issue of this mode.
This is how the browsers show the report when we force the size of the components.
Unfortunately, there is no solution at this moment.

Thank you.
ecpmiranda
Posts: 52
Joined: Sun Jun 05, 2016 9:35 pm

Re: TextBox WordWrap CanGrow not working

Post by ecpmiranda »

Thanks! No problem at all, the report looks fine with this line.
Post Reply