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.

Était-ce utile?

La solution

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

Autres conseils

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top