Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 47

Ashy_Ravaliya
Aspiring developer
Profile
Posts: 51
Reg: Apr 21, 2012
London, United ...
3,310
09/10/12 04:23 PM (13 years ago)

Prevent List from scrolling under header image

Hey guys, I am trying (using ver 1.5) I am trying to create a scrolling list with a static header image. Through previous posts I sorted out how to create a static image and have my list underneath the image! However I've noticed that if you scroll up the list is 'scrolled' behind the image then it bounces back. Is there a way to prevent this? I'd imagine that there is a frame setting for the list within the screen and I just need to make the list frame smaller or start at a different point on the screen?! Any idea is greatly appreciated! Thanks! Ashy
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
09/10/12 04:28 PM (13 years ago)
 
Ashy_Ravaliya
Aspiring developer
Profile
Posts: 51
Reg: Apr 21, 2012
London, United ...
3,310
like
09/10/12 04:47 PM (13 years ago)
Hi Madrod, Thanks for the tip...this thread mentioned updating parameters in this line of code: self.myScrollView.contentSize = CGSizeMake(contentWidth, contentHeight); But it seems like this is only relevant to a screen using buttons not a list unfortunately. I was not able to find a referance to 'self.myScrollView.contentSize....' in the BT_screenmenulist.m Thanks
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.