NSDictionary *attrs = @{NSFontAttributeName: NameFont};
CGSize nameMaxSize = CGSizeMake(MAXFLOAT, MAXFLOAT);
CGSize nameSize = [self.status.name boundingRectWithSize:nameMaxSize options:NSStringDrawingUsesLineFragmentOrigin attributes:attrs context:nil].size;
CGFloat nameX = CGRectGetMaxX(self.iconView.frame) + padding;
CGFloat nameY = iconY + (iconH - nameSize.height) * 0.5;
self.nameView.frame = CGRectMake(nameX, nameY, nameSize.width, nameSize.height);
08-18
08-18