Merge pull request #75340 from Barugon/tree_colunm_title_alignment

Implement column title alignment for `Tree`
This commit is contained in:
Rémi Verschelde 2023-04-03 16:03:10 +02:00
commit 9c492204ca
No known key found for this signature in database
GPG key ID: C3336907360768E1
3 changed files with 61 additions and 1 deletions

View file

@ -100,6 +100,13 @@
Returns the column's title.
</description>
</method>
<method name="get_column_title_alignment" qualifiers="const">
<return type="int" enum="HorizontalAlignment" />
<param index="0" name="column" type="int" />
<description>
Returns the column title alignment.
</description>
</method>
<method name="get_column_title_direction" qualifiers="const">
<return type="int" enum="Control.TextDirection" />
<param index="0" name="column" type="int" />
@ -288,6 +295,14 @@
Sets the title of a column.
</description>
</method>
<method name="set_column_title_alignment">
<return type="void" />
<param index="0" name="column" type="int" />
<param index="1" name="title_alignment" type="int" enum="HorizontalAlignment" />
<description>
Sets the column title alignment. Note that [constant @GlobalScope.HORIZONTAL_ALIGNMENT_FILL] is not supported for column titles.
</description>
</method>
<method name="set_column_title_direction">
<return type="void" />
<param index="0" name="column" type="int" />