From 3b941ed98cfb1f72c35684f1d4d458dacd482c63 Mon Sep 17 00:00:00 2001 From: Chris verBurg Date: Wed, 20 Apr 2022 23:16:02 -0700 Subject: [PATCH] Link to Container tutorial Users happening across any of the Container pages may not already know the intent of Containers, or which others are available. This commit adds a link to the existing "GUI containers" page in their tutorials sections. --- doc/classes/AspectRatioContainer.xml | 1 + doc/classes/BoxContainer.xml | 1 + doc/classes/CenterContainer.xml | 1 + doc/classes/Container.xml | 1 + doc/classes/GridContainer.xml | 1 + doc/classes/HBoxContainer.xml | 1 + doc/classes/HSplitContainer.xml | 1 + doc/classes/MarginContainer.xml | 1 + doc/classes/PanelContainer.xml | 1 + doc/classes/ScrollContainer.xml | 1 + doc/classes/SplitContainer.xml | 1 + doc/classes/TabContainer.xml | 1 + doc/classes/VBoxContainer.xml | 1 + doc/classes/VSplitContainer.xml | 1 + 14 files changed, 14 insertions(+) diff --git a/doc/classes/AspectRatioContainer.xml b/doc/classes/AspectRatioContainer.xml index 742a7276d43..e7847ba05c7 100644 --- a/doc/classes/AspectRatioContainer.xml +++ b/doc/classes/AspectRatioContainer.xml @@ -7,6 +7,7 @@ Arranges child controls in a way to preserve their aspect ratio automatically whenever the container is resized. Solves the problem where the container size is dynamic and the contents' size needs to adjust accordingly without losing proportions. + $DOCS_URL/tutorials/ui/gui_containers.html diff --git a/doc/classes/BoxContainer.xml b/doc/classes/BoxContainer.xml index 92fccaa8848..c76a1783687 100644 --- a/doc/classes/BoxContainer.xml +++ b/doc/classes/BoxContainer.xml @@ -7,6 +7,7 @@ Arranges child [Control] nodes vertically or horizontally, and rearranges them automatically when their minimum size changes. + $DOCS_URL/tutorials/ui/gui_containers.html diff --git a/doc/classes/CenterContainer.xml b/doc/classes/CenterContainer.xml index 08cdf64cea0..f5f32bd325f 100644 --- a/doc/classes/CenterContainer.xml +++ b/doc/classes/CenterContainer.xml @@ -7,6 +7,7 @@ CenterContainer keeps children controls centered. This container keeps all children to their minimum size, in the center. + $DOCS_URL/tutorials/ui/gui_containers.html diff --git a/doc/classes/Container.xml b/doc/classes/Container.xml index 11b20b56542..900997d1193 100644 --- a/doc/classes/Container.xml +++ b/doc/classes/Container.xml @@ -8,6 +8,7 @@ A Control can inherit this to create custom container classes. + $DOCS_URL/tutorials/ui/gui_containers.html diff --git a/doc/classes/GridContainer.xml b/doc/classes/GridContainer.xml index 59777ffb797..27095c7f726 100644 --- a/doc/classes/GridContainer.xml +++ b/doc/classes/GridContainer.xml @@ -9,6 +9,7 @@ [b]Note:[/b] GridContainer only works with child nodes inheriting from Control. It won't rearrange child nodes inheriting from Node2D. + $DOCS_URL/tutorials/ui/gui_containers.html https://godotengine.org/asset-library/asset/677 diff --git a/doc/classes/HBoxContainer.xml b/doc/classes/HBoxContainer.xml index 0af9f7a0f43..21267215eb6 100644 --- a/doc/classes/HBoxContainer.xml +++ b/doc/classes/HBoxContainer.xml @@ -7,6 +7,7 @@ Horizontal box container. See [BoxContainer]. + $DOCS_URL/tutorials/ui/gui_containers.html diff --git a/doc/classes/HSplitContainer.xml b/doc/classes/HSplitContainer.xml index f2407181766..8137e26b8cf 100644 --- a/doc/classes/HSplitContainer.xml +++ b/doc/classes/HSplitContainer.xml @@ -7,6 +7,7 @@ Horizontal split container. See [SplitContainer]. This goes from left to right. + $DOCS_URL/tutorials/ui/gui_containers.html diff --git a/doc/classes/MarginContainer.xml b/doc/classes/MarginContainer.xml index 3f9f93a39ba..3b2ace8475d 100644 --- a/doc/classes/MarginContainer.xml +++ b/doc/classes/MarginContainer.xml @@ -26,6 +26,7 @@ [/codeblocks] + $DOCS_URL/tutorials/ui/gui_containers.html diff --git a/doc/classes/PanelContainer.xml b/doc/classes/PanelContainer.xml index 1bb26045d94..fff30e0dc05 100644 --- a/doc/classes/PanelContainer.xml +++ b/doc/classes/PanelContainer.xml @@ -7,6 +7,7 @@ Panel container type. This container fits controls inside of the delimited area of a stylebox. It's useful for giving controls an outline. + $DOCS_URL/tutorials/ui/gui_containers.html https://godotengine.org/asset-library/asset/520 diff --git a/doc/classes/ScrollContainer.xml b/doc/classes/ScrollContainer.xml index 95255ed79f2..658793c4c01 100644 --- a/doc/classes/ScrollContainer.xml +++ b/doc/classes/ScrollContainer.xml @@ -9,6 +9,7 @@ Works great with a [Panel] control. You can set [code]EXPAND[/code] on the children's size flags, so they will upscale to the ScrollContainer's size if it's larger (scroll is invisible for the chosen dimension). + $DOCS_URL/tutorials/ui/gui_containers.html diff --git a/doc/classes/SplitContainer.xml b/doc/classes/SplitContainer.xml index b2fcd467318..f2bc65f8dfc 100644 --- a/doc/classes/SplitContainer.xml +++ b/doc/classes/SplitContainer.xml @@ -7,6 +7,7 @@ Container for splitting two [Control]s vertically or horizontally, with a grabber that allows adjusting the split offset or ratio. + $DOCS_URL/tutorials/ui/gui_containers.html diff --git a/doc/classes/TabContainer.xml b/doc/classes/TabContainer.xml index 011b716dfc8..10b5f730ad4 100644 --- a/doc/classes/TabContainer.xml +++ b/doc/classes/TabContainer.xml @@ -9,6 +9,7 @@ [b]Note:[/b] The drawing of the clickable tabs themselves is handled by this node. Adding [TabBar]s as children is not needed. + $DOCS_URL/tutorials/ui/gui_containers.html diff --git a/doc/classes/VBoxContainer.xml b/doc/classes/VBoxContainer.xml index 4821791f50e..a345668f912 100644 --- a/doc/classes/VBoxContainer.xml +++ b/doc/classes/VBoxContainer.xml @@ -7,6 +7,7 @@ Vertical box container. See [BoxContainer]. + $DOCS_URL/tutorials/ui/gui_containers.html https://godotengine.org/asset-library/asset/676 diff --git a/doc/classes/VSplitContainer.xml b/doc/classes/VSplitContainer.xml index 32b7637c7e0..b933fb28050 100644 --- a/doc/classes/VSplitContainer.xml +++ b/doc/classes/VSplitContainer.xml @@ -7,6 +7,7 @@ Vertical split container. See [SplitContainer]. This goes from top to bottom. + $DOCS_URL/tutorials/ui/gui_containers.html