HtmlTextBox: Underline has broken line when text is justified

2 posts, 0 answers
  1. Max
    Max avatar
    1 posts
    Member since:
    Jan 2015

    Posted 05 Apr 2018 Link to this post

    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?


  2. Silviya
    Silviya avatar
    439 posts

    Posted 10 Apr 2018 Link to this post

    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.!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.

    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
Back to Top