-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stack layout #27
Comments
Thanks for reporting this! That is weird. I have never had this problem before. The subviews are default to be centered at its parent view (the ZLSwipeableView instance). What is the frame of the ZLSwipeableView? I think it might be causing the problem. |
@zhxnlai The ZLSwipeableView's frame is |
@zhxnlai I followed the example more closely and got it to work. I think the behavior is a bit strange. |
What you described is a way to work around the issue with using autolayout in subviews. Did you use autolayout in the subviews? |
Yep, auto layout. This fixed it, thanks! I'll close the issue. |
Hi there, been using the library for a bit and really liking it.
I was wondering how the layout the views that are behind the top are determined? In this stack, sometimes they're all from the left, sometimes they're peeking in from the right. What I'd really like to mimic is the way it was in the demo, where sometimes they're peeking from the left, sometimes from the right, in an almost concentric fashion.
Thanks so much for library!
The text was updated successfully, but these errors were encountered: