diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-14 00:53:22 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-14 05:09:10 -0700 |
commit | ace9d463aa1b8e68f84e83aca0dbd288a996a728 (patch) | |
tree | 2ad73456c7d2d19c188b94eb698655991a1ea0b5 | |
parent | 9b1c70dd889dd9b12036301c10acae9ce7f2556d (diff) |
Size of segmented settings controller incorrect on iPad.
-rw-r--r-- | MobileCydia.mm | 1 |
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_]; } |