Skip to content
Snippets Groups Projects
Commit b7ce3518 authored by jakobsbode's avatar jakobsbode
Browse files

converting data from received Mail to answered Mail finished for the moment;...

converting data from received Mail to answered Mail finished for the moment; Huge size of VENTokenFields when deleting an entry is fixed (could be done better!!!!); Localized.strings sorted
parent 48838d1c
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,7 @@ static const CGFloat VENTokenFieldDefaultMaxHeight = 150.0;
// Accessing bare value to avoid kicking off a premature layout run.
_toLabelText = NSLocalizedString(@"To:", nil);
self.originalHeight = CGRectGetHeight(self.frame);
self.originalHeight = 44;//CGRectGetHeight(self.frame);
// Add invisible text field to handle backspace when we don't have a real first responder.
[self layoutInvisibleTextField];
......@@ -281,7 +281,7 @@ static const CGFloat VENTokenFieldDefaultMaxHeight = 150.0;
- (void)layoutCollapsedLabelWithCurrentX:(CGFloat *)currentX
{
UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(*currentX, CGRectGetMinY(self.toLabel.frame), self.width - *currentX - self.horizontalInset, self.toLabel.height)];
label.font = [UIFont fontWithName:@"HelveticaNeue" size:15.5];
label.font = [UIFont systemFontOfSize: 17.0];//[UIFont fontWithName:@"HelveticaNeue" size:15.5];
label.text = [self collapsedText];
label.textColor = self.colorScheme;
label.minimumScaleFactor = 5./label.font.pointSize;
......@@ -374,7 +374,7 @@ static const CGFloat VENTokenFieldDefaultMaxHeight = 150.0;
if (!_toLabel) {
_toLabel = [[UILabel alloc] initWithFrame:CGRectZero];
_toLabel.textColor = self.toLabelTextColor;
_toLabel.font = [UIFont fontWithName:@"HelveticaNeue" size:15.5];
_toLabel.font = [UIFont systemFontOfSize: 17.0];//[UIFont fontWithName:@"HelveticaNeue" size:15.5];
_toLabel.x = 0;
[_toLabel sizeToFit];
[_toLabel setHeight:[self heightForToken]];
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment