HtmlViewer icon indicating copy to clipboard operation
HtmlViewer copied to clipboard

Text with multiple underlines

Open debritto opened this issue 6 years ago • 2 comments

Hi folks! Happy 2020.

I'm trying to build a software that enables me to highlight texts using layers of underlines.

My aim is to enable people to create qualitative analysis on their texts, discriminating different parts of expressions.

I have found a solution here, using html (see pic #1 coding.png coding

) (from: https://stackoverflow.com/questions/40861062/text-with-multiple-underlines).

So I've tryed to do the same using HTMLViewer component, but it doesn't work. It seems that the component cannot draw underlines below the others (see pic #2 - coding2.png coding2).

I think that there is no way to set "display inline-block" value. Am I right? This is what I'm trying to do:

<span style="border-bottom:3px solid; display:inline-block; padding-bottom:1px;border-bottom-color:blue;"> testando para <span style="border-bottom:3px solid; display:inline-block; padding-bottom:1px;border-bottom-color:red;"> ver se </span> consigo </span>

Please, anyone can offer me an idea? Warm regards

debritto avatar Jan 04 '20 20:01 debritto

Please, is anybody out there?

debritto avatar Jan 25 '20 21:01 debritto

Your right. As HtmlViewer does not support property "display" it can only render 1 underline at a time.

BerndGabriel avatar Feb 09 '20 11:02 BerndGabriel