jverdi / jverdi/JVFloatLabeledTextField

JVFloatLabeledTextView Can't adjust the placeholderLabel's x position

Open
#165 4 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
Objective-C
Stars
7.1k
Forks
720
PR merge metrics
No merged PRs in 30d

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?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at JVFloatLabeledTextView and inspect how placeholderLabel and placeholderYPadding are exposed and applied. Compare this with floatingLabelXPadding, then determine the smallest public API change that permits horizontal placeholder adjustment and verify the label position in the affected text-view behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, objective-c
Domain
mobile
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.