From: Grant Paul Date: Fri, 3 Dec 2010 01:19:18 +0000 (-0800) Subject: Fixed cancel button sizing; blackified dropbar. X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/10ef0d0e8e5de9bd5a2093b2235bdcfeb5a74704 Fixed cancel button sizing; blackified dropbar. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index 196b9c02..4750c107 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -6544,6 +6544,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { - (void) positionViews { CGRect frame = [cancel_ frame]; + frame.size = [cancel_ sizeThatFits:frame.size]; frame.origin.x = [self frame].size.width - frame.size.width - 5; frame.origin.y = ([self frame].size.height - frame.size.height) / 2; [cancel_ setFrame:frame]; @@ -6578,7 +6579,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { if ((self = [super initWithFrame:frame])) { [self setAutoresizingMask:UIViewAutoresizingFlexibleWidth]; - [self setTintColor:[UIColor colorWithRed:0.23 green:0.23 blue:0.23 alpha:1]]; [self setBarStyle:UIBarStyleBlack]; UIBarStyle barstyle([self _barStyle:NO]);