Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Black margin if started app in rotated to landscape mode clockwise #102

Closed
wants to merge 1 commit into from

2 participants

@vrubinat

This change solved the problem when the app is started rotated
 to landscape mode clockwise(270º), the app started with black margin
 in left and all view is shifted to the right.
The app loses about 20px and it can not see the whole page.

@vrubinat vrubinat Update platform/iphone/Classes/SimpleMainView.m
This change solved the problem when the app is started rotated
 to landscape mode clockwise(270º), the app started with black margin
 in left and all view is shifted to the right. 
The app loses about 20px and it can not see the whole page.
f321838
@genywind

fixed

@genywind genywind closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 25, 2012
  1. @vrubinat

    Update platform/iphone/Classes/SimpleMainView.m

    vrubinat authored
    This change solved the problem when the app is started rotated
     to landscape mode clockwise(270º), the app started with black margin
     in left and all view is shifted to the right. 
    The app loses about 20px and it can not see the whole page.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  platform/iphone/Classes/SimpleMainView.m
View
1  platform/iphone/Classes/SimpleMainView.m
@@ -372,6 +372,7 @@ - (id)init:(UIView*)p webView:(UIWebView*)w frame:(CGRect)frame bar_info:(NSDict
CGRect wFrame = frame;
wFrame.origin.y = 0;
+ wFrame.origin.x = 0;
webView.frame = wFrame;
webView.autoresizesSubviews = YES;
Something went wrong with that request. Please try again.