Bullet list doubles height

Stimulsoft Reports.JS discussion
Post Reply
grbspltt
Posts: 25
Joined: Fri Apr 28, 2017 2:50 pm

Bullet list doubles height

Post by grbspltt »

I'm using a html text box to show a detail field as an un-ordered list item with bullet points. The rendered height of the text field doubles when I use the text height vs code only no styling.

With html tags:

Code: Select all

<ul><li>{bondCampusSubCategorySummary.subCategory}</li></ul>
Image
No style:

Code: Select all

{bondCampusSubCategorySummary.subCategory}
Image
Lech Kulikowski
Posts: 6243
Joined: Tue Mar 20, 2018 5:34 am

Re: Bullet list doubles height

Post by Lech Kulikowski »

Hello,

Please send us a sample report with test data which reproduces the issue for analysis.

Thank you.
grbspltt
Posts: 25
Joined: Fri Apr 28, 2017 2:50 pm

Re: Bullet list doubles height

Post by grbspltt »

See attached.
Attachments
TestDataReport.mrt
(2.37 KiB) Downloaded 121 times
Lech Kulikowski
Posts: 6243
Joined: Tue Mar 20, 2018 5:34 am

Re: Bullet list doubles height

Post by Lech Kulikowski »

Hello,

Unfortunately, at the current moment, works as is.
Also, please check the modified report in the attachment.

Thank you.
Attachments
TestDataReport m2.mrt
(2.55 KiB) Downloaded 121 times
grbspltt
Posts: 25
Joined: Fri Apr 28, 2017 2:50 pm

Re: Bullet list doubles height

Post by grbspltt »

"Works as is" meaning nothing will be done to fix?

I ended up using a shape to create a bullet, not great but it passes. I'll be sure to keep that special character in a text file somewhere if I ever need a bullet list.
In the future it would be nice to have this working in a less hacky way, especially since the bullet list is a built in feature. Perhaps make the bullet list button default to this special character?
Lech Kulikowski
Posts: 6243
Joined: Tue Mar 20, 2018 5:34 am

Re: Bullet list doubles height

Post by Lech Kulikowski »

Hello,

There are limitations in the JavaScript with HTML tags. Unfortunately, at the current moment, we couldn't fix that issue.

Thank you.
Post Reply