I'm want a screen to have a fixed upper section and a vertically-scrolling lower section, like the first image below.
I've been experimenting and got it mostly working, except I can drag the scrolling panel left-to-right and it will drag, but will bounce back. Second image shows it with me "pulling the lower panel to the lower left". It looks like this, where the white is the panel that should scroll only horizontally, and red is behind that. (Colors specifically chosen at this time so I can see what's happening)
What's the correct way to lock the horizontal motion so it only scrolls vertically?
Code attached.
Thanks.
I've been experimenting and got it mostly working, except I can drag the scrolling panel left-to-right and it will drag, but will bounce back. Second image shows it with me "pulling the lower panel to the lower left". It looks like this, where the white is the panel that should scroll only horizontally, and red is behind that. (Colors specifically chosen at this time so I can see what's happening)
What's the correct way to lock the horizontal motion so it only scrolls vertically?
Code attached.
Thanks.