Bläddra i källkod

activity view

Marino Faggiana 8 år sedan
förälder
incheckning
1617a0aa26
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      iOSClient/MenuAccount+ControlCenter/CCControlCenterActivity.m

+ 2 - 0
iOSClient/MenuAccount+ControlCenter/CCControlCenterActivity.m

@@ -170,6 +170,7 @@
     }
     
     [actionLabel setFont:fontSizeAction];
+    [actionLabel sizeToFit];
     actionLabel.text = [NSString stringWithFormat:@"%@ %@", activity.action, activity.file];
 
     if ([activity.type isEqualToString:k_activityTypeInfo]) {
@@ -195,6 +196,7 @@
     }
     
     [noteLabel setFont:fontSizeNote];
+    [noteLabel sizeToFit];
     noteLabel.textColor = COLOR_TEXT_ANTHRACITE;
     noteLabel.numberOfLines = 0;
     noteLabel.lineBreakMode = NSLineBreakByWordWrapping;