SkyFloatingLabelTextField icon indicating copy to clipboard operation
SkyFloatingLabelTextField copied to clipboard

Color property for floating title

Open hsharghi opened this issue 7 years ago • 2 comments

I have looked into documentation and code but wasn't able to find the parameter for this property : Floating title text color when text box is not focused. I've tried to change all the color properties, but it will always stays dark gray color. Anyone can help me changing it?

simulator screen shot - iphone 8 plus - 2018-07-26 at 18 16 53

hsharghi avatar Jul 26 '18 14:07 hsharghi

I believe you are trying to change the color property from the Interface builder right? Although it seems to be a bug not changing the colors if changed from the IB, but it's still working if you tried to change that programmatically. You can try to access the selectedTitleColor property for your textfield after connecting your outlet. You may need to import SkyFloatingLabelTextField in the viewController you are working in. Hope that helps you 👍

HadiYaac avatar Oct 17 '18 15:10 HadiYaac

The property you have to set is called titleColor

olerich avatar Nov 08 '18 16:11 olerich