浏览代码

Added description to classes/ScrollContainer

Added description to help understand how to utilize the ScrollContainer
node.
Brickcaster 10 年之前
父节点
当前提交
e0e4bcc6a6
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      doc/base/classes.xml

+ 2 - 0
doc/base/classes.xml

@@ -29178,8 +29178,10 @@
 </class>
 <class name="ScrollContainer" inherits="Container" category="Core">
 	<brief_description>
+	A helper node for displaying scollable elements (e.g. lists).
 	</brief_description>
 	<description>
+	A ScrollContainer node with a [Control] child and scrollbar child ([HScrollbar], [VScrollBar], or both) 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 minimum_size of the Control relative to the ScrollContainer.  Works great with a [Panel] control.
 	</description>
 	<methods>
 		<method name="set_enable_h_scroll">