Browse Source

Merge pull request #11175 from Calinou/bbcode-in-richtextlabel-list-bullet

Fix incorrect `[ul bullet=...]` description in BBCode in RichTextLabel
Max Hilbrunner 1 week ago
parent
commit
e50a82a124
1 changed files with 6 additions and 4 deletions
  1. 6 4
      tutorials/ui/bbcode_in_richtextlabel.rst

+ 6 - 4
tutorials/ui/bbcode_in_richtextlabel.rst

@@ -278,7 +278,9 @@ Reference
       | ``[p {options}]{text}[/p]``
       | ``[p {options}]{text}[/p]``
 
 
   * - | **br**
   * - | **br**
-      | Adds line break in a text.
+      | Adds line break in a text, without adding a new paragraph.
+        If used within a list, this won't create a new list item,
+        but will add a line break within the current item instead.
 
 
     - ``[br]``
     - ``[br]``
 
 
@@ -968,9 +970,9 @@ Unordered list bullet
 By default, the ``[ul]`` tag uses the ``U+2022`` "Bullet" Unicode glyph as the
 By default, the ``[ul]`` tag uses the ``U+2022`` "Bullet" Unicode glyph as the
 bullet character. This behavior is similar to web browsers. The bullet character
 bullet character. This behavior is similar to web browsers. The bullet character
 can be customized using ``[ul bullet={bullet}]``. If provided, this ``{bullet}``
 can be customized using ``[ul bullet={bullet}]``. If provided, this ``{bullet}``
-parameter must be a *single* character with no enclosing quotes (for example,
-``[bullet=*]``). Additional characters are ignored. The bullet character's
-width does not affect the list's formatting.
+parameter must be a string with no enclosing quotes (for example,
+``[bullet=*]``). You can add trailing spaces after the bullet character
+to increase the spacing between the bullet and the list item text.
 
 
 See `Bullet (typography) on Wikipedia <https://en.wikipedia.org/wiki/Bullet_(typography)>`__
 See `Bullet (typography) on Wikipedia <https://en.wikipedia.org/wiki/Bullet_(typography)>`__
 for a list of common bullet characters that you can paste directly in the ``bullet`` parameter.
 for a list of common bullet characters that you can paste directly in the ``bullet`` parameter.