diff --git a/VENTokenField/VENTokenField.m b/VENTokenField/VENTokenField.m index 20d680c..8bac8ad 100644 --- a/VENTokenField/VENTokenField.m +++ b/VENTokenField/VENTokenField.m @@ -273,13 +273,13 @@ - (void)adjustHeightForCurrentY:(CGFloat)currentY { if (currentY + [self heightForToken] > CGRectGetHeight(self.frame)) { // needs to grow if (currentY + [self heightForToken] <= self.maxHeight) { - [self setHeight:currentY + [self heightForToken]]; + [self setHeight:currentY + [self heightForToken] + self.verticalInset * 2]; } else { [self setHeight:self.maxHeight]; } } else { // needs to shrink if (currentY + [self heightForToken] > self.originalHeight) { - [self setHeight:currentY + [self heightForToken]]; + [self setHeight:currentY + [self heightForToken] + self.verticalInset * 2]; } else { [self setHeight:self.originalHeight]; }