project_files/HedgewarsMobile/Classes/HelpPageLobbyViewController.m
branchios-revival
changeset 11121 182a42b79610
parent 11120 83c0d96f86ea
child 11122 2b4e89e5203b
--- a/project_files/HedgewarsMobile/Classes/HelpPageLobbyViewController.m	Fri Aug 14 21:27:55 2015 +0200
+++ b/project_files/HedgewarsMobile/Classes/HelpPageLobbyViewController.m	Sat Aug 15 00:22:04 2015 +0200
@@ -35,7 +35,7 @@
 // on iPhone the XIBs contain UIScrollView
 -(void) viewDidLoad {
     if (IS_IPAD() == NO){
-        scrollView.contentSize = CGSizeMake(480,650);
+        scrollView.contentSize = CGSizeMake(self.view.frame.size.width, 650);
         scrollView.maximumZoomScale = 4.0;
         scrollView.minimumZoomScale = 0.75;
         scrollView.clipsToBounds = YES;