diff options
author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2018-10-14 19:31:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-14 19:31:31 +0200 |
commit | f1d4167030e348415361c22dd3bf667e2c1254ac (patch) | |
tree | f54f1a52aa53d609f81963321fe802a8c698795e | |
parent | 000307f255d412be2765d1f1e0ec40a142b1becc (diff) | |
parent | 967831d9a0a11d79a1c186a590a132a88f36df03 (diff) |
Merge pull request #22978 from CakHuri/fix-get_button_count-link
[Docs] Fixed 'get_button_count's link and a typo related to 'button'.
-rw-r--r-- | doc/classes/TreeItem.xml | 2 | ||||
-rw-r--r-- | scene/gui/tree.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/TreeItem.xml b/doc/classes/TreeItem.xml index a7c5c3f28c..b4227b34be 100644 --- a/doc/classes/TreeItem.xml +++ b/doc/classes/TreeItem.xml @@ -25,7 +25,7 @@ <argument index="4" name="tooltip" type="String" default=""""> </argument> <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> </method> <method name="clear_custom_bg_color"> diff --git a/scene/gui/tree.cpp b/scene/gui/tree.cpp index effa44968d..0c11181f98 100644 --- a/scene/gui/tree.cpp +++ b/scene/gui/tree.cpp @@ -2934,7 +2934,7 @@ void Tree::_notification(int p_what) { if (show_column_titles) { - //title butons + //title buttons int ofs = cache.bg->get_margin(MARGIN_LEFT); for (int i = 0; i < columns.size(); i++) { |