mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-08 08:31:13 +00:00
Make sure the button title does appear
This commit is contained in:
parent
5a030ada9b
commit
4408c60618
@ -146,6 +146,10 @@
|
|||||||
cr.origin.y = _customPadding.y;
|
cr.origin.y = _customPadding.y;
|
||||||
cr.origin.x = self.superview.frame.size.width - cr.size.width - _customPadding.x * 2;
|
cr.origin.x = self.superview.frame.size.width - cr.size.width - _customPadding.x * 2;
|
||||||
self.frame = cr;
|
self.frame = cr;
|
||||||
|
NSLog(@"%@", NSStringFromCGRect(self.frame));
|
||||||
|
NSLog(@"%@", NSStringFromCGRect(self.titleLabel.frame));
|
||||||
|
NSLog(@"%@", [self.titleLabel.textColor description]);
|
||||||
|
NSLog(@"%@", [self.backgroundColor description]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -207,6 +211,8 @@
|
|||||||
[self.layer addSublayer:_inActiveBorderLayer];
|
[self.layer addSublayer:_inActiveBorderLayer];
|
||||||
[_inActiveBorderLayer setHidden:YES];
|
[_inActiveBorderLayer setHidden:YES];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[self bringSubviewToFront:self.titleLabel];
|
||||||
}
|
}
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user