Commit dbe74272 by M. Porooshani

Uses's Placeholderlabel to compare scaled down size

parent 8cf456f2
......@@ -566,7 +566,7 @@ fileprivate extension TextField {
case .left, .natural:
placeholderLabel.frame.origin.x = w + placeholderHorizontalOffset
case .right:
placeholderLabel.frame.origin.x = bounds.width - placeholderLabel.bounds.width - textInset + placeholderHorizontalOffset
placeholderLabel.frame.origin.x = bounds.width - placeholderLabel.frame.width - textInset + placeholderHorizontalOffset
default:break
}
......
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