jverdi/JVFloatLabeledTextField

Incorrect placeholderYPadding for case placeholderYPadding > floatingLabelYPadding

vovkaprigarin opened this issue · 0 comments

Hi. I found one strange bug: if i want set floatingLabelYPadding is 40, and placeholderYPadding is, for example, 70 (> 40), placeholderYPadding will be 40. You can find this incorrect logic in methods insetRectForBounds, clearButtonRectForBounds, etc.. All methods that use maxTopInset method. Can you check this?