ソースを参照

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">