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.
This commit is contained in:
parent
f4b0c7a1ea
commit
3b941ed98c
@ -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.
|
||||
</description>
|
||||
<tutorials>
|
||||
<link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link>
|
||||
</tutorials>
|
||||
<members>
|
||||
<member name="alignment_horizontal" type="int" setter="set_alignment_horizontal" getter="get_alignment_horizontal" enum="AspectRatioContainer.AlignmentMode" default="1">
|
||||
|
@ -7,6 +7,7 @@
|
||||
Arranges child [Control] nodes vertically or horizontally, and rearranges them automatically when their minimum size changes.
|
||||
</description>
|
||||
<tutorials>
|
||||
<link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="add_spacer">
|
||||
|
@ -7,6 +7,7 @@
|
||||
CenterContainer keeps children controls centered. This container keeps all children to their minimum size, in the center.
|
||||
</description>
|
||||
<tutorials>
|
||||
<link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link>
|
||||
</tutorials>
|
||||
<members>
|
||||
<member name="use_top_left" type="bool" setter="set_use_top_left" getter="is_using_top_left" default="false">
|
||||
|
@ -8,6 +8,7 @@
|
||||
A Control can inherit this to create custom container classes.
|
||||
</description>
|
||||
<tutorials>
|
||||
<link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="_get_allowed_size_flags_horizontal" qualifiers="virtual const">
|
||||
|
@ -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.
|
||||
</description>
|
||||
<tutorials>
|
||||
<link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link>
|
||||
<link title="OS Test Demo">https://godotengine.org/asset-library/asset/677</link>
|
||||
</tutorials>
|
||||
<members>
|
||||
|
@ -7,6 +7,7 @@
|
||||
Horizontal box container. See [BoxContainer].
|
||||
</description>
|
||||
<tutorials>
|
||||
<link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link>
|
||||
</tutorials>
|
||||
<theme_items>
|
||||
<theme_item name="separation" data_type="constant" type="int" default="4">
|
||||
|
@ -7,6 +7,7 @@
|
||||
Horizontal split container. See [SplitContainer]. This goes from left to right.
|
||||
</description>
|
||||
<tutorials>
|
||||
<link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link>
|
||||
</tutorials>
|
||||
<theme_items>
|
||||
<theme_item name="autohide" data_type="constant" type="int" default="1">
|
||||
|
@ -26,6 +26,7 @@
|
||||
[/codeblocks]
|
||||
</description>
|
||||
<tutorials>
|
||||
<link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link>
|
||||
</tutorials>
|
||||
<theme_items>
|
||||
<theme_item name="margin_bottom" data_type="constant" type="int" default="0">
|
||||
|
@ -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.
|
||||
</description>
|
||||
<tutorials>
|
||||
<link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link>
|
||||
<link title="2D Role Playing Game Demo">https://godotengine.org/asset-library/asset/520</link>
|
||||
</tutorials>
|
||||
<members>
|
||||
|
@ -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).
|
||||
</description>
|
||||
<tutorials>
|
||||
<link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="ensure_control_visible">
|
||||
|
@ -7,6 +7,7 @@
|
||||
Container for splitting two [Control]s vertically or horizontally, with a grabber that allows adjusting the split offset or ratio.
|
||||
</description>
|
||||
<tutorials>
|
||||
<link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="clamp_split_offset">
|
||||
|
@ -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.
|
||||
</description>
|
||||
<tutorials>
|
||||
<link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="get_current_tab_control" qualifiers="const">
|
||||
|
@ -7,6 +7,7 @@
|
||||
Vertical box container. See [BoxContainer].
|
||||
</description>
|
||||
<tutorials>
|
||||
<link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link>
|
||||
<link title="3D Voxel Demo">https://godotengine.org/asset-library/asset/676</link>
|
||||
</tutorials>
|
||||
<theme_items>
|
||||
|
@ -7,6 +7,7 @@
|
||||
Vertical split container. See [SplitContainer]. This goes from top to bottom.
|
||||
</description>
|
||||
<tutorials>
|
||||
<link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link>
|
||||
</tutorials>
|
||||
<theme_items>
|
||||
<theme_item name="autohide" data_type="constant" type="int" default="1">
|
||||
|
Loading…
Reference in New Issue
Block a user