This is a migrated thread and some comments may be shown as answers.

HtmlTextBox: Underline has broken line when text is justified

1 Answer 214 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Max
Top achievements
Rank 1
Max asked on 06 Apr 2018, 01:20 AM

I am trying to create a report that has justified text and has portions of the text underlined.  I'm using an HtmlTextBox and can set the properties to justify the text and underline portions of it.  However, it displays the underline by underlining each word separately, leaving a space between the lines.  Is there any way to force the underline to be one continuous line when using justified text?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Silviya
Telerik team
answered on 10 Apr 2018, 01:02 PM
Hello Max,

As you've opened a support ticket on the same topic, I'm going to quote the response from my colleague Rick:

"Thank you for reporting this issue to us. I was able to easily reproduce the issue from your description.

Justified alignment producing broken spaces with underline styles is a rather old issue in some rendering engines. The Chrome Browser used to suffer from it as well, as you can see in the resource below.

https://productforums.google.com/forum/#!topic/docs/oWH32deCUrI


In my tests, I found that the issue is present in the report designer "preview" pane, but not in the "HTML Preview" pane or any tested browser. I also verified that the issue isn't present in exporting PDFs.

Are you able to replicate the behavior outside of the "preview" pane of the report designer? It's possible to use non-breaking style spaces, but if the issue does not present itself outside of the preview area I would recommend disregarding it."

We can also continue the discussion in the support ticket #1161304.

Regards,
Silviya
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Max
Top achievements
Rank 1
Answers by
Silviya
Telerik team
Share this question
or