Permalink
Browse files

Fit scroll indicators within text input area

  • Loading branch information...
1 parent 6a4575e commit 6edd30e02ee3b3d98ec2cb0067f83c21a8a171f1 @brandonhamilton brandonhamilton committed May 29, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 UIInputToolbarSample/Classes/UIInputToolbar/UIInputToolbar.m
@@ -71,6 +71,7 @@ -(void)setupToolbar:(NSString *)buttonLabel
/* Create UIExpandingTextView input */
self.textView = [[UIExpandingTextView alloc] initWithFrame:CGRectMake(7, 7, 236, 26)];
+ self.textView.internalTextView.scrollIndicatorInsets = UIEdgeInsetsMake(4.0f, 0.0f, 10.0f, 0.0f);
self.textView.delegate = self;
[self addSubview:self.textView];

0 comments on commit 6edd30e

Please sign in to comment.