diff options
author | Grant Paul <chpwn@chpwn.com> | 2010-12-02 17:19:18 -0800 |
---|---|---|
committer | Grant Paul <chpwn@chpwn.com> | 2010-12-02 17:19:18 -0800 |
commit | 64523317cd5ceac2eb38fa0fcc019e9fa851bb11 (patch) | |
tree | 34e96d29d389cae43041b806bf83886222977ea9 /MobileCydia.mm | |
parent | 773cfc9fe369c16d5b47aa14260b8a5d172faac0 (diff) |
Fixed cancel button sizing; blackified dropbar.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r-- | MobileCydia.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 196b9c0..4750c10 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]); |