jverdi/JVFloatLabeledTextField

JVFloatLabeledTextView Can't adjust the placeholderLabel's x position

Ouverte

#165 ouverte le 10 avr. 2017

 (4 commentaires) (0 réaction) (0 personne assignée)Objective-C (719 forks)batch import
help wanted

Métriques du dépôt

Stars
 (7 141 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Hi,

I wanting to change the text inset of JVFloatLabeledTextView, everything is fine except the placeholderLabel. For content of the UITextView, I just need to adjust the textContainerInset, with floatingLabel, I can see there 2 public APIs is floatingLabelXPadding and floatingLabelYPadding. But with placeholderLabel, it has only one public API is placeholderYPadding.

So I'm wondering how to adjust the placeholderLabel's x position?

Guide contributeur