Change font-size from text field with html tags

Stimulsoft Reports.WEB discussion
Post Reply
RafaelTaranto
Posts: 2
Joined: Mon Aug 05, 2024 6:28 pm

Change font-size from text field with html tags

Post by RafaelTaranto »

Hello, good afternoon!

I have an specific text field, where i get the text from a field in my database. In this field, i can have html tags and text. This field has configuration to accept html tags. However, when i try to change the font-size, nothing happens. I tried to make this change by font-size html tag, but the field breaks part of the text, in the stimulsoft-viewer-angular. How can i adjust font-size, without break the content inside the field?
Max Shamanov
Posts: 990
Joined: Tue Sep 07, 2021 10:11 am

Re: Change font-size from text field with html tags

Post by Max Shamanov »

Hello,

Sorry, maybe we did not exactly understand your question. Could you explain your issue in more detail?

Thank you.
RafaelTaranto
Posts: 2
Joined: Mon Aug 05, 2024 6:28 pm

Re: Change font-size from text field with html tags

Post by RafaelTaranto »

Hello, Good Morning!

I have a report where one of my fields is a text type field, and inside this field i receive values from a SQL connection. For this field, i receive text with some html tags, like <p>, <br>. For this text field, i have configuration to allow html tags:
initial configuration of the field with problem.
initial configuration of the field with problem.
field-configuration.png (101.02 KiB) Viewed 7017 times
But i can't change the font-size from this specific field.
result-without-font-size-tag.png
result-without-font-size-tag.png (7.98 KiB) Viewed 7017 times
I have tried something like adding <font-size> tag:
field-configuration-2.png
field-configuration-2.png (123.81 KiB) Viewed 7017 times
But part of the text is missing now, because of the font-size tag:
result-with-font-size-tag.png
result-with-font-size-tag.png (5.25 KiB) Viewed 7017 times
I want to know how to solve this problem, avoiding losing part of the text.
Lech Kulikowski
Posts: 7333
Joined: Tue Mar 20, 2018 5:34 am

Re: Change font-size from text field with html tags

Post by Lech Kulikowski »

Hello,

Please try to check the last release build.
If the issue is still present, please send us a sample report with test data that reproduces the issue for analysis.

Thank you.
Post Reply