Browse Source

center icon

Marino Faggiana 7 years ago
parent
commit
b96ca1ad44
1 changed files with 2 additions and 2 deletions
  1. 2 2
      iOSClient/Library/AHKActionSheet/AHKActionSheet.m

+ 2 - 2
iOSClient/Library/AHKActionSheet/AHKActionSheet.m

@@ -170,13 +170,13 @@ static const CGFloat maxWidth = 414.0f;
     
     if (item.type == AHKActionSheetButtonTypeDisabled) {
         
-        imageView = [[UIImageView alloc]initWithFrame:CGRectMake(15, _buttonHeight/2 - (30/2), 30, 30)];
+        imageView = [[UIImageView alloc]initWithFrame:CGRectMake(20, _buttonHeight/2 - (30/2), 30, 30)];
         imageView.backgroundColor = [UIColor clearColor];
         [imageView setImage:item.image];
         
     } else {
         
-        imageView = [[UIImageView alloc]initWithFrame:CGRectMake(15, _buttonHeight/2 - (25/2), 25, 25)];
+        imageView = [[UIImageView alloc]initWithFrame:CGRectMake(20, _buttonHeight/2 - (25/2), 25, 25)];
         
         BOOL useTemplateMode = [UIImage instancesRespondToSelector:@selector(imageWithRenderingMode:)] && [self.automaticallyTintButtonImages boolValue];