Commit 137e8bdc by Daniel Dahan

issue-469: Fixed issue where TextField placeholder was not respecting initial vertical offset.

parent ed874c9e
......@@ -384,7 +384,7 @@ public class TextField: UITextField {
placeholderLabel.frame.origin.x = width - placeholderLabel.frame.width
default:break
}
placeholderLabel.frame.origin.y = -placeholderLabel.frame.size.height
placeholderLabel.frame.origin.y = -placeholderLabel.frame.size.height + placeholderVerticalOffset
placeholderLabel.textColor = placeholderColor
} else {
switch textAlignment {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment