summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorGrant Paul <chpwn@chpwn.com>2010-12-02 17:19:18 -0800
committerGrant Paul <chpwn@chpwn.com>2010-12-02 17:19:18 -0800
commit64523317cd5ceac2eb38fa0fcc019e9fa851bb11 (patch)
tree34e96d29d389cae43041b806bf83886222977ea9 /MobileCydia.mm
parent773cfc9fe369c16d5b47aa14260b8a5d172faac0 (diff)
Fixed cancel button sizing; blackified dropbar.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm2
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]);