diff --git a/Pods/VENTokenField/VENTokenField/VENTokenField.m b/Pods/VENTokenField/VENTokenField/VENTokenField.m index fdf0eb01f2479862e30c5b0b9f232e8f88d3b779..c593343f60e4e47c598c973cc51f503f5c11029d 100644 --- a/Pods/VENTokenField/VENTokenField/VENTokenField.m +++ b/Pods/VENTokenField/VENTokenField/VENTokenField.m @@ -264,7 +264,7 @@ static const CGFloat VENTokenFieldDefaultMaxHeight = 2000.0;//150.0; - (void)layoutInputTextFieldWithCurrentX:(CGFloat *)currentX currentY:(CGFloat *)currentY clearInput:(BOOL)clearInput { CGFloat inputTextFieldWidth = self.scrollView.contentSize.width - *currentX; - if (inputTextFieldWidth < self.minInputWidth) { + if (!_readOnly && inputTextFieldWidth < self.minInputWidth) { inputTextFieldWidth = self.scrollView.contentSize.width; *currentY += [self heightForToken]; *currentX = 0; @@ -377,7 +377,7 @@ static const CGFloat VENTokenFieldDefaultMaxHeight = 2000.0;//150.0; if (!_toLabel) { _toLabel = [[UILabel alloc] initWithFrame:CGRectZero]; _toLabel.textColor = self.toLabelTextColor; - _toLabel.font = [UIFont systemFontOfSize: 17.0];//[UIFont fontWithName:@"HelveticaNeue" size:15.5]; + _toLabel.font = [UIFont systemFontOfSize: 15.0];//[UIFont fontWithName:@"HelveticaNeue" size:15.5]; _toLabel.x = 0; [_toLabel sizeToFit]; [_toLabel setHeight:[self heightForToken]];