Skip to content
Browse files

Improve SSTextView placeholder alignment

  • Loading branch information...
1 parent 881a0fc commit efc06af19afa7df9a55978e02b9d44a0b62a239d @soffes soffes committed Sep 5, 2012
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, 8.0f, self.frame.size.width - 16.0f, self.frame.size.height - 16.0f) withFont:self.font];
+ [_placeholder drawInRect:CGRectMake(8.0f, 0.0f, self.frame.size.width - 16.0f, self.frame.size.height) withFont:self.font];
}
}

0 comments on commit efc06af

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