Skip to content
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

Orientation Bug #31

Open
martinobonfiglioli opened this issue Feb 9, 2012 · 1 comment
Open

Orientation Bug #31

martinobonfiglioli opened this issue Feb 9, 2012 · 1 comment

Comments

@martinobonfiglioli
Copy link

Firstly thank you for this amazing component!

I've found a bug:

1 - create four different panel.
2 - swipe back e forward between panel.
3 - rotate the device and many times the views will not show correctly.

When you solve this bug, that component will be perfect!

Martino.

@soymigue
Copy link

soymigue commented Aug 6, 2012

Hi,

I am not sure if the problem described is the same one I had. When opening a panel in Landscape mode, the shadow would appear to be short. I changed the following line from this:

UIViewWithShadow* verticalLineView = [[[UIViewWithShadow alloc] initWithFrame:CGRectMake(-40, 0, 40 , self.view.frame.size.height)] autorelease];

to this:

UIViewWithShadow* verticalLineView = [[[UIViewWithShadow alloc] initWithFrame:CGRectMake(-40, 0, 40 , controller.view.frame.size.height)] autorelease];

It seems to do the trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants