summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorzacryol <60046681+zacryol@users.noreply.github.com>2021-11-28 21:14:24 -0700
committerzacryol <60046681+zacryol@users.noreply.github.com>2021-11-29 18:01:09 -0700
commit5c645d510fe2e5d5b385b3cf8e9e12b92768d069 (patch)
treee75d4f9327e01f1dd54ff10d8017b312082faeca /doc
parent69a194f051c5f02243092e305633b9ffbd03b05f (diff)
Clarify usage of TabContainer
Makes it more clear that TabBar is separate from TabContainer, and that the container draws the tabs itself.
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/TabContainer.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/TabContainer.xml b/doc/classes/TabContainer.xml
index 1f32bba5a1..ad1e5c0050 100644
--- a/doc/classes/TabContainer.xml
+++ b/doc/classes/TabContainer.xml
@@ -4,8 +4,9 @@
Tabbed container.
</brief_description>
<description>
- Sets the active tab's [code]visible[/code] property to the value [code]true[/code]. Sets all other children's to [code]false[/code].
+ Arranges [Control] children into a tabbed view, creating a tab for each one. The active tab's corresponding [Control] has its [code]visible[/code] property set to [code]true[/code], and all other children's to [code]false[/code].
Ignores non-[Control] children.
+ [b]Note:[/b] The drawing of the clickable tabs themselves is handled by this node. Adding [TabBar]s as children is not needed.
</description>
<tutorials>
</tutorials>