summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-14 00:53:22 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-14 05:09:10 -0700
commitace9d463aa1b8e68f84e83aca0dbd288a996a728 (patch)
tree2ad73456c7d2d19c188b94eb698655991a1ea0b5 /MobileCydia.mm
parent9b1c70dd889dd9b12036301c10acae9ce7f2556d (diff)
Size of segmented settings controller incorrect on iPad.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 255bf87..d6bea29 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -8585,6 +8585,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
UCLocalize("DEVELOPER"),
nil];
segment_ = [[[UISegmentedControl alloc] initWithItems:items] autorelease];
+ [segment_ setAutoresizingMask:(UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleLeftMargin)];
container_ = [[[UIView alloc] initWithFrame:CGRectMake(0, 0, [[self view] frame].size.width, 44.0f)] autorelease];
[container_ addSubview:segment_];
}