[Docs] Fixed 'get_button_count's link and a typo related to 'button'.
(cherry picked from commit 967831d9a0
)
This commit is contained in:
parent
ef66d357a7
commit
7e8736a47d
|
@ -25,7 +25,7 @@
|
||||||
<argument index="4" name="tooltip" type="String" default="""">
|
<argument index="4" name="tooltip" type="String" default="""">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Adds a button with [Texture] [code]button[/code] at column [code]column[/code]. The [code]button_idx[/code] index is used to identify the button when calling other methods. If not specified, the next available index is used, which may be retrieved by calling [code]get_buton_count()[/code] immediately after this method. Optionally, the button can be [code]disabled[/code] and have a [code]tooltip[/code].
|
Adds a button with [Texture] [code]button[/code] at column [code]column[/code]. The [code]button_idx[/code] index is used to identify the button when calling other methods. If not specified, the next available index is used, which may be retrieved by calling [method get_button_count] immediately after this method. Optionally, the button can be [code]disabled[/code] and have a [code]tooltip[/code].
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="clear_custom_bg_color">
|
<method name="clear_custom_bg_color">
|
||||||
|
|
|
@ -2948,7 +2948,7 @@ void Tree::_notification(int p_what) {
|
||||||
|
|
||||||
if (show_column_titles) {
|
if (show_column_titles) {
|
||||||
|
|
||||||
//title butons
|
//title buttons
|
||||||
int ofs = cache.bg->get_margin(MARGIN_LEFT);
|
int ofs = cache.bg->get_margin(MARGIN_LEFT);
|
||||||
for (int i = 0; i < columns.size(); i++) {
|
for (int i = 0; i < columns.size(); i++) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue