             disclosureIndicatorImageView.isHidden = !isDisclosureIndicatorVisible
         }
     }
-    
-    @IBInspectable public var isLeftTextAlignment: Bool {
-        get {
-            return textField.textAlignment == .left
-        }
-        set {
-            let alignment: NSTextAlignment = newValue ? .left : .center
-            textField.textAlignment = alignment
-            placeholderLabel.textAlignment = alignment
-        }
-    }
-    
+
     public var type: TextType = .simple {
         didSet {
             textField.isSecureTextEntry = false

    public var selectedDate: Date?
    public var dateFormat: String = Constants.defaultDateFormat
    
    @IBInspectable public var placeholderTopColor: UIColor = UIColor.gray
    @IBInspectable public var placeholderBottomColor: UIColor = UIColor.gray
    
    @IBInspectable public var enteredTextColor: UIColor {
        get { return textField.textColor ?? UIColor.black }
        set { textField.textColor = newValue }
    }
    
    @IBInspectable public var lineColor: UIColor {
        get { return lineView.backgroundColor ?? UIColor.gray }
        set { lineView.backgroundColor = newValue }
    }
    
    static public let doneTitle: String = Constants.done
    static public let animationDuration: TimeInterval = 0.3

            layoutSubviews()
        }
    }

    public var font: UIFont? {
        get {
            return placeholderLabel.font
