Question

Spaces are not working for indentation in ts file. Is there any tag which can be used for indentation like like br is used for line break

I want to display text as follows:

     1. Please press telecom handler
        button.

while it is shown as

 1. Please press telecom handler
 button.

How to indent first and second line.

Was it helpful?

Solution

Thanks for the help!! I have used <blockquote >
html tag for indentation

OTHER TIPS

If your text widget is successfully parsing <br/> tag from translator, you may want to use &nbsp; or &#160; for non-breakable space.

If this is in a QLabel, you could use rich text in the label, and then use HTML ordered list tags, as in:

<ol>
<li>Coffee</li>
<li>Milk</li>
</ol>

See here for more information on HTML lists.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top