Explorar el Código

activity view

Marino Faggiana hace 8 años
padre
commit
1617a0aa26
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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;