Permalink
Browse files

Adjusted Action button font size to remove tiling artifact

  • Loading branch information...
1 parent 0a78a25 commit cbd6cec307cd379e1d7c111662ad1c89213483d5 @coneybeare coneybeare committed Jun 18, 2012
Showing with 6 additions and 6 deletions.
  1. +6 −6 UAModalPanel/Panel/Panels/UAModalPanel.m
@@ -145,7 +145,7 @@ - (UIButton*)actionButton {
self.actionButton.layer.shadowColor = [[UIColor blackColor] CGColor];
self.actionButton.layer.shadowOffset = CGSizeMake(0,4);
self.actionButton.layer.shadowOpacity = 0.3;
- self.actionButton.titleLabel.font = [UIFont boldSystemFontOfSize:12];
+ self.actionButton.titleLabel.font = [UIFont boldSystemFontOfSize:11];
[self.actionButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
[self.actionButton setTitleColor:[UIColor grayColor] forState:UIControlStateHighlighted];
self.actionButton.contentEdgeInsets = UIEdgeInsetsMake(4, 8, 4, 8);
@@ -256,11 +256,11 @@ - (void)actionPressed:(id)sender {
}
-- (void)showAnimationStarting {}; //subcalsses override
-- (void)showAnimationPart1Finished {}; //subcalsses override
-- (void)showAnimationPart2Finished {}; //subcalsses override
-- (void)showAnimationPart3Finished {}; //subcalsses override
-- (void)showAnimationFinished {}; //subcalsses override
+- (void)showAnimationStarting {}; //subclasses override
+- (void)showAnimationPart1Finished {}; //subclasses override
+- (void)showAnimationPart2Finished {}; //subclasses override
+- (void)showAnimationPart3Finished {}; //subclasses override
+- (void)showAnimationFinished {}; //subclasses override
- (void)show {
if ([delegate respondsToSelector:@selector(willShowModalPanel:)])

0 comments on commit cbd6cec

Please sign in to comment.