Sfoglia il codice sorgente

Merge pull request #92508 from bruvzg/rtl_cell_docs

[RTL] Add references to cell and column configuration methods.
Rémi Verschelde 1 anno fa
parent
commit
036737e53f
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      doc/classes/RichTextLabel.xml

+ 2 - 2
doc/classes/RichTextLabel.xml

@@ -335,7 +335,7 @@
 		<method name="push_cell">
 			<return type="void" />
 			<description>
-				Adds a [code skip-lint][cell][/code] tag to the tag stack. Must be inside a [code skip-lint][table][/code] tag. See [method push_table] for details.
+				Adds a [code skip-lint][cell][/code] tag to the tag stack. Must be inside a [code skip-lint][table][/code] tag. See [method push_table] for details. Use [method set_table_column_expand] to set column expansion ratio, [method set_cell_border_color] to set cell border, [method set_cell_row_background_color] to set cell background, [method set_cell_size_override] to override cell size, and [method set_cell_padding] to set padding.
 			</description>
 		</method>
 		<method name="push_color">
@@ -492,7 +492,7 @@
 			<param index="1" name="inline_align" type="int" enum="InlineAlignment" default="0" />
 			<param index="2" name="align_to_row" type="int" default="-1" />
 			<description>
-				Adds a [code skip-lint][table=columns,inline_align][/code] tag to the tag stack.
+				Adds a [code skip-lint][table=columns,inline_align][/code] tag to the tag stack. Use [method set_table_column_expand] to set column expansion ratio. Use [method push_cell] to add cells.
 			</description>
 		</method>
 		<method name="push_underline">