summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2011-11-01 04:23:23 +0100
committerTor Andersson <tor.andersson@artifex.com>2011-11-01 23:46:57 +0100
commit1f3d5882ad5951e2b4a794e0ae885c5974df7e69 (patch)
tree9d228728ca8508e9e09805b4934af15096c13f79 /ios
parentff4c3855aa5eba7de25ecb5cca77886b4039b6d9 (diff)
downloadmupdf-1f3d5882ad5951e2b4a794e0ae885c5974df7e69.tar.xz
Remove flexible spaces that are not needed, and cause issues with iOS < 5.
Diffstat (limited to 'ios')
-rw-r--r--ios/main.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/main.m b/ios/main.m
index 03601ba7..a5e9a0a5 100644
--- a/ios/main.m
+++ b/ios/main.m
@@ -419,7 +419,7 @@ static UIImage *renderPage(pdf_xref *xref, int number, float width, float height
[view addSubview: indicator];
wrapper = [[UIBarButtonItem alloc] initWithCustomView: slider];
- [self setToolbarItems: [NSArray arrayWithObjects: flexibleSpace, wrapper, flexibleSpace, nil]];
+ [self setToolbarItems: [NSArray arrayWithObjects: wrapper, nil]];
[self setView: view];
}