Skip to content

Commit

Permalink
Revert "Content rescaling on layout (orientation) change"
Browse files Browse the repository at this point in the history
This reverts commit 1335277.
  • Loading branch information
ayanonagon committed Nov 12, 2014
1 parent 313f77d commit 114173d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions VENTokenField/VENTokenField.m
Original file line number Diff line number Diff line change
Expand Up @@ -187,12 +187,6 @@ - (NSString *)inputText

#pragma mark - View Layout

- (void)layoutSubviews
{
[super layoutSubviews];
self.scrollView.contentSize = CGSizeMake(CGRectGetWidth(self.frame) - self.horizontalInset * 2, CGRectGetHeight(self.frame) - self.verticalInset * 2);
}

- (void)layoutScrollView
{
self.scrollView = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 0, CGRectGetWidth(self.frame), CGRectGetHeight(self.frame))];
Expand Down

0 comments on commit 114173d

Please sign in to comment.