From ace9d463aa1b8e68f84e83aca0dbd288a996a728 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Mon, 14 Mar 2011 00:53:22 -0700 Subject: Size of segmented settings controller incorrect on iPad. --- MobileCydia.mm | 1 + 1 file changed, 1 insertion(+) 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_]; } -- cgit v1.2.3