Explorar el Código

Merge pull request #5509 from dalexeev/bgcolor-fgcolor-bbcodes

Document `[bgcolor]` and `[fgcolor]` BBCodes
Max Hilbrunner hace 3 años
padre
commit
55c80494c7
Se han modificado 1 ficheros con 11 adiciones y 1 borrados
  1. 11 1
      tutorials/ui/bbcode_in_richtextlabel.rst

+ 11 - 1
tutorials/ui/bbcode_in_richtextlabel.rst

@@ -181,6 +181,16 @@ Reference
 
     - ``[color={code/name}]{text}[/color]``
 
+  * - | **bgcolor**
+      | Draws the color behind ``{text}``. Accepts same values as the ``color`` tag.
+
+    - ``[bgcolor={code/name}]{text}[/bgcolor]``
+
+  * - | **fgcolor**
+      | Draws the color in front of ``{text}``. Accepts same values as the ``color`` tag.
+
+    - ``[fgcolor={code/name}]{text}[/fgcolor]``
+
   * - | **outline_size**
       | Use custom font outline size for ``{text}``.
 
@@ -191,7 +201,7 @@ Reference
   * - | **outline_color**
       | Use custom outline color for ``{text}``. Accepts same values as the ``color`` tag.
 
-    - | ``[outline_color={color}]``
+    - | ``[outline_color={code/name}]``
       | ``{text}``
       | ``[/outline_color]``