HSImageSidebarView
HSImageSidebarView copied to clipboard
horizontal scrolling
Hi,
How do I use this to do horizontal scrolling? I interchanged the width and height of the "Image Sidebar View" in the sample, but it does not show up.
Can you please help?
Thanks, DS
My intention was that if the view is wider than it is tall, than it should automatically use horizontal scrolling. Are you not seeing that behavior?
I do not see that. Any thoughts?
On Mar 18, 2012, at 6:01 PM, BJ Homer [email protected] wrote:
My intention was that if the view is wider than it is tall, than it should automatically use horizontal scrolling. Are you not seeing that behavior?
Reply to this email directly or view it on GitHub: https://github.com/bjhomer/HSImageSidebarView/issues/7#issuecomment-4564857
I've just tested it, and it's definitely scrolling horizontally for me.
One thing to note is that the detection for horizontal/vertical mode currently happens upon initialization. That is, if you have a vertical sidebar in your xib, and then change its frame to be horizontal in code at some later point, it will be too late, as the orientation will have already been fixed upon initialization.
That's probably something that could stand to be improved, but for now, that's how it is.
Hi, For me, horizontal scrolling is working only in portrait orientation. In landscape orientation scrolling seems to be disabled. Any thoughts ?
Thanks in advance Cy
+1 horizontal scrolling is not working
swapped the width and height, and debugged to check if the isHorizontal is YES, and sure enough it is. But it's not even firing the scrollViewDidScroll
any thoughts ?
I'll look into this
first of all, Thank you for your work ^_^ and secondly I think I figured out what's causing this, laziness.
what I did and I assume what people did before me, is directly resizing the example's UIView hoping that it will pick it up automagically, it does that but the autoresizing masks are already messed up.
sorry for not updating earlier.