jverdi/JVFloatLabeledTextField

JVFloatLabeledTextView Can't adjust the placeholderLabel's x position

Open

#165 aperta il 10 apr 2017

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)Objective-C (720 fork)batch import
help wanted

Metriche repository

Star
 (7151 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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?

Guida contributor