ScrollView Show Background Issue

How do you show the background of a ScrollView ?

I have a scroll view with images, text, buttons, etc, and I want to add a stationery background. Whether or not I have hideBackground set, whatever image that I have in the background is the only image I see in the area of the scrollView. So right now, I have a giant blue gradient where my scrollview should be. It is not a hierarchy issue, I have the background before the scrollview and have even used toFront() and toBack(). It is also not a position issue because I can still use the buttons that are inside. [import]uid: 169884 topic_id: 33603 reply_id: 333603[/import]

Why not have your background image not be part of the scroll view if you want it stationary. Just make sure if you’re using Storyboard that you add it to the scene’s “group”.
[import]uid: 199310 topic_id: 33603 reply_id: 133600[/import]

When I add the image to the scroll view, it scrolls with the rest of the scrollview. Is there some background specific function for scrollview? [import]uid: 54716 topic_id: 33603 reply_id: 133682[/import]

Things you put into the scroll view are going to scroll. You should be able to tell the scrollView to not have a background so it’s transparent and just have a regular fixed background underneath it.

[import]uid: 199310 topic_id: 33603 reply_id: 133767[/import]

Why not have your background image not be part of the scroll view if you want it stationary. Just make sure if you’re using Storyboard that you add it to the scene’s “group”.
[import]uid: 199310 topic_id: 33603 reply_id: 133600[/import]

I am using the latest stable build on Windows and Android. When I set hidebackground to true or false, the entire scrollview turns transparent. All I get is the image that is behind the scrollview. [import]uid: 169884 topic_id: 33603 reply_id: 133802[/import]

I’m using this in an app now with build 972 and it’s working just fine:

 scrollView = widget.newScrollView{  
 scrollWidth = 3806,  
 scrollHeight = 768,  
 hideBackground = true,  
 listener = scrollViewListener  
 }  

Make sure the case on the hideBackground is correct and you’re not putting quotes around the true. [import]uid: 199310 topic_id: 33603 reply_id: 133841[/import]

When I add the image to the scroll view, it scrolls with the rest of the scrollview. Is there some background specific function for scrollview? [import]uid: 54716 topic_id: 33603 reply_id: 133682[/import]

Things you put into the scroll view are going to scroll. You should be able to tell the scrollView to not have a background so it’s transparent and just have a regular fixed background underneath it.

[import]uid: 199310 topic_id: 33603 reply_id: 133767[/import]

I am using the latest stable build on Windows and Android. When I set hidebackground to true or false, the entire scrollview turns transparent. All I get is the image that is behind the scrollview. [import]uid: 169884 topic_id: 33603 reply_id: 133802[/import]

I’m using this in an app now with build 972 and it’s working just fine:

 scrollView = widget.newScrollView{  
 scrollWidth = 3806,  
 scrollHeight = 768,  
 hideBackground = true,  
 listener = scrollViewListener  
 }  

Make sure the case on the hideBackground is correct and you’re not putting quotes around the true. [import]uid: 199310 topic_id: 33603 reply_id: 133841[/import]