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.

有帮助吗?

解决方案

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

其他提示

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top