jverdi / jverdi/JVFloatLabeledTextField

Activated Floating Label ellipsize on font change

Open
#183 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
7.1k
Forks
720
PR merge metrics
No merged PRs in 30d

Description

When I change the FloatingLabelFont to bigger font size it ellipsize with three dots only support small fonts. Example:

this.Placeholder = "Email";
this.FloatingLabelFont = UIFont.SystemFontOfSize(16);

![textfield](https://user-images.githubusercontent.com/31296200/32662410-bd6a560c-c62a-11e7-8584-0515f676e70e.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with a UITextField using Placeholder set to "Email" and FloatingLabelFont set to UIFont.SystemFontOfSize(16). Trace the FloatingLabelFont handling and label layout, then verify that the floating label displays without unwanted ellipsizing at the larger font size.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.