ErAbhishekChandani / ACFloatingTextfield

It is a subclass of UITextfield to Provide the floating label and customisations.
MIT License
125 stars 40 forks source link

Buttom Line Height issue #54

Open vikashsingh1 opened 6 years ago

vikashsingh1 commented 6 years ago

Hello ,

I facing issue over line height of textBox , it is 2px i set bottomLineViewHeight constraint to 1 px in ACFloatingTextfield (hard coded), i am using storyboard , but in some pages text bottom Line height is 2px(Suppose 3 textbox 2 have line height 1 px but 1 have line height 2px) , try to find out this issue but unable to resolve it , can you guys help me what i am doing wrong. @ErAbhishekChandani @keshavvishwkarma

ACFloatingTextfield.swift.zip

abrarqureshi commented 6 years ago

if you are using ACFloatingTextfield.so u can also change bottom line colour i.e in ACFloatingTextfield

=>/// Change Bottom Line Color. @IBInspectable open var lineColor : UIColor = UIColor.white

/// Change Error Text color. @IBInspectable open var errorTextColor : UIColor = UIColor.red

/// Change Error Line color. @IBInspectable open var errorLineColor : UIColor = UIColor.red