summaryrefslogtreecommitdiffstats
path: root/doc/classes/ScrollContainer.xml
diff options
context:
space:
mode:
authorLunadin <59242420+Lunadin@users.noreply.github.com>2020-02-26 14:47:06 +1100
committerLunadin <59242420+Lunadin@users.noreply.github.com>2020-02-26 14:47:06 +1100
commit4e226dc0d67d3b6a700afd9a0eaadbfad1a7355c (patch)
tree0400c79639e139c4d28b46362565d2eae3aa10e1 /doc/classes/ScrollContainer.xml
parent2d980f6f13cc761c1eb9329e7eaeba5e9d1a9b37 (diff)
downloadredot-engine-4e226dc0d67d3b6a700afd9a0eaadbfad1a7355c.tar.gz
Docs: Improved wording and added links
- Added missing links to the Control node in BoxContainer - Added Oxford commas in BoxContainer and CanvasItem - Clarified ambiguous boolean wording in BoxContainer - Improved paragraphing in ScrollContainer's description - Simplified ControlPicker description
Diffstat (limited to 'doc/classes/ScrollContainer.xml')
-rw-r--r--doc/classes/ScrollContainer.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/classes/ScrollContainer.xml b/doc/classes/ScrollContainer.xml
index 0b113bebe5..9c5634f43a 100644
--- a/doc/classes/ScrollContainer.xml
+++ b/doc/classes/ScrollContainer.xml
@@ -4,7 +4,9 @@
A helper node for displaying scrollable elements such as lists.
</brief_description>
<description>
- A ScrollContainer node meant to contain a [Control] child. ScrollContainers will automatically create a scrollbar child ([HScrollBar], [VScrollBar], or both) when needed and will only draw the Control within the ScrollContainer area. Scrollbars will automatically be drawn at the right (for vertical) or bottom (for horizontal) and will enable dragging to move the viewable Control (and its children) within the ScrollContainer. Scrollbars will also automatically resize the grabber based on the [member Control.rect_min_size] of the Control relative to the ScrollContainer. 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).
+ A ScrollContainer node meant to contain a [Control] child.
+ ScrollContainers will automatically create a scrollbar child ([HScrollBar], [VScrollBar], or both) when needed and will only draw the Control within the ScrollContainer area. Scrollbars will automatically be drawn at the right (for vertical) or bottom (for horizontal) and will enable dragging to move the viewable Control (and its children) within the ScrollContainer. Scrollbars will also automatically resize the grabber based on the [member Control.rect_min_size] of the Control relative to the ScrollContainer.
+ 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>
</tutorials>