Commit 65d8767b by Daniel Dahan

development: set leftViewMode to always as a default for TextField

parent 885c63b1
......@@ -110,7 +110,6 @@ open class BottomNavigationController: UITabBarController {
view.clipsToBounds = true
view.contentScaleFactor = Screen.scale
view.backgroundColor = .white
// delegate = self
prepareTabBar()
}
......
......@@ -101,7 +101,7 @@ open class TextField: UITextField {
return leftViewOffset + height
}
/// The leftView width value.
/// The leftView offset value.
open var leftViewOffset: CGFloat = 16
/// Placeholder normal text
......@@ -441,6 +441,7 @@ extension TextField {
/// Prepares the leftView.
fileprivate func prepareLeftView() {
leftView?.contentMode = .left
leftViewMode = .always
updateLeftViewColor()
}
......
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