Skip to content

Commit ff80a3c

Browse files
committed
Document cell padding not supporting spaces between values in BBCode in RichTextLabel
1 parent d80b150 commit ff80a3c

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tutorials/ui/bbcode_in_richtextlabel.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ 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, or 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
@@ -879,11 +880,11 @@ Cell options
879880

880881
- **padding**
881882

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

888889
Left, top, right, and bottom cell padding.
889890

0 commit comments

Comments
 (0)