Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Revert "Improve SSTextView placeholder alignment"

This reverts commit efc06af.
  • Loading branch information...
commit 61f33abcdc56619594ae6870cbc62c848aa4a3d2 1 parent efc06af
@soffes soffes authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  SSToolkit/SSTextView.m
View
2  SSToolkit/SSTextView.m
@@ -71,7 +71,7 @@ - (void)drawRect:(CGRect)rect {
if (_shouldDrawPlaceholder) {
[_placeholderTextColor set];
- [_placeholder drawInRect:CGRectMake(8.0f, 0.0f, self.frame.size.width - 16.0f, self.frame.size.height) withFont:self.font];
+ [_placeholder drawInRect:CGRectMake(8.0f, 8.0f, self.frame.size.width - 16.0f, self.frame.size.height - 16.0f) withFont:self.font];
}
}

1 comment on commit 61f33ab

@samgro

Curious - why was this reverted? When I add a simple SSTextView to my parent view, the placeholder text is offset incorrectly without this change...

Please sign in to comment.
Something went wrong with that request. Please try again.