jverdi/JVFloatLabeledTextField

JVFloatLabeledTextView Can't adjust the placeholderLabel's x position

Open

#165 ouverte le 10 avr. 2017

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)Objective-C (720 forks)batch import
help wanted

Métriques du dépôt

Stars
 (7 151 stars)
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