You don’t need to put additional ScrollBar into ScrolContainer, there are two properties of ScrolContainer: Horizonal and Vertical. If you check them proper scroll will show automatically.
for example:
Put new Scroll Container on the scene.
Set it’s size
Turn on Vertical and Horizontal
Put Button Node as a child of Scrool Container
Set Button MinSize to something greater than size of ScrollContainer
Turn on the scene and play with scrolling
Am I able to reposition the scroll bar that is generated?
SupToasty | 2016-04-22 13:22
As far as I know you will be unable to reposition it, at least there is no api for this. If you need scroll in some non standard place then maybe you need to create and program this container on yourself after all…
kubecz3k | 2016-04-22 13:47
All right I’ll mess around with things if I can’t find an alternative design that fits. Thanks kubecz3k.
SupToasty | 2016-04-22 16:11
You are able to get a node reference to the scrollbars using the get_h_scrollbar and get_v_scrollbar functions. You can probably then just set the rect_position value to whatever you want.