Skip to content

Commit f2d2133

Browse files
authored
Merge pull request #10713 from Calinou/bbcode-in-richtextlabel-cell-padding-no-space
Document `cell` padding not supporting spaces between values in BBCode in RichTextLabel
2 parents 91da8dd + 2d96a05 commit f2d2133

File tree

1 file changed

+19
-17
lines changed

1 file changed

+19
-17
lines changed

tutorials/ui/bbcode_in_richtextlabel.rst

+19-17
Original file line numberDiff line numberDiff line change
@@ -355,14 +355,16 @@ Reference
355355
| A `drop cap <https://www.computerhope.com/jargon/d/dropcap.htm>`__ is typically one
356356
uppercase character, but ``[dropcap]`` supports containing multiple characters.
357357
``margins`` values are comma-separated and can be positive, zero or negative.
358+
Values must **not** be separated by spaces; otherwise, the values won't be parsed correctly.
358359
Negative top and bottom margins are particularly useful to allow the rest of
359360
the paragraph to display below the dropcap.
360361
361362
- ``[dropcap font={font} font_size={size} color={color} outline_size={size} outline_color={color} margins={left},{top},{right},{bottom}]{text}[/dropcap]``
362363

363364
* - | **opentype_features**
364365
| Enables custom OpenType font features for ``{text}``. Features must be provided as
365-
a comma-separated ``{list}``.
366+
a comma-separated ``{list}``. Values must **not** be separated by spaces;
367+
otherwise, the list won't be parsed correctly.
366368
367369
- | ``[opentype_features={list}]``
368370
| ``{text}``
@@ -508,7 +510,7 @@ Paragraph options
508510
- **justification_flags**, **jst**
509511

510512
+-----------+--------------------------------------------------------------------------------------------------------+
511-
| `Values` | Comma-separated list of the following values: |
513+
| `Values` | Comma-separated list of the following values (no space after each comma): |
512514
| | ``kashida`` (or ``k``), ``word`` (or ``w``), ``trim`` (or ``tr``), ``after_last_tab`` (or ``lt``), |
513515
| | ``skip_last`` (or ``sl``), ``skip_last_with_chars`` (or ``sv``), ``do_not_skip_single`` (or ``ns``). |
514516
+-----------+--------------------------------------------------------------------------------------------------------+
@@ -780,11 +782,11 @@ Font options
780782

781783
- **opentype_variation**, **otv**
782784

783-
+-----------+------------------------------------------------------+
784-
| `Values` | Comma-separated list of the OpenType variation tags. |
785-
+-----------+------------------------------------------------------+
786-
| `Default` | |
787-
+-----------+------------------------------------------------------+
785+
+-----------+----------------------------------------------------------------------------------+
786+
| `Values` | Comma-separated list of the OpenType variation tags (no space after each comma). |
787+
+-----------+----------------------------------------------------------------------------------+
788+
| `Default` | |
789+
+-----------+----------------------------------------------------------------------------------+
788790

789791
Font OpenType variation coordinates. See `OpenType variation tags <https://docs.microsoft.com/en-us/typography/opentype/spec/dvaraxisreg>`__.
790792

@@ -796,11 +798,11 @@ Font options
796798
797799
- **opentype_features**, **otf**
798800

799-
+-----------+----------------------------------------------------+
800-
| `Values` | Comma-separated list of the OpenType feature tags. |
801-
+-----------+----------------------------------------------------+
802-
| `Default` | |
803-
+-----------+----------------------------------------------------+
801+
+-----------+--------------------------------------------------------------------------------+
802+
| `Values` | Comma-separated list of the OpenType feature tags (no space after each comma). |
803+
+-----------+--------------------------------------------------------------------------------+
804+
| `Default` | |
805+
+-----------+--------------------------------------------------------------------------------+
804806

805807
Font OpenType features. See `OpenType features tags <https://docs.microsoft.com/en-us/typography/opentype/spec/featuretags>`__.
806808

@@ -879,11 +881,11 @@ Cell options
879881

880882
- **padding**
881883

882-
+-----------+--------------------------------------------+
883-
| `Values` | 4 comma-separated floating-point numbers |
884-
+-----------+--------------------------------------------+
885-
| `Default` | 0, 0, 0, 0 |
886-
+-----------+--------------------------------------------+
884+
+-----------+--------------------------------------------------------------------------+
885+
| `Values` | 4 comma-separated floating-point numbers (no space after each comma) |
886+
+-----------+--------------------------------------------------------------------------+
887+
| `Default` | ``0,0,0,0`` |
888+
+-----------+--------------------------------------------------------------------------+
887889

888890
Left, top, right, and bottom cell padding.
889891

0 commit comments

Comments
 (0)