سؤال

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