jverdi/JVFloatLabeledTextField

JVFloatLabeledTextView Can't adjust the placeholderLabel's x position

Aperta

#165 aperta il 10 apr 2017

 (4 commenti) (0 reazioni) (0 assegnatari)Objective-C (719 fork)batch import
help wanted

Metriche repository

Star
 (7141 stelle)
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