Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • J JVFloatLabeledTextField
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 26
    • Issues 26
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Jared Verdi
  • JVFloatLabeledTextField
  • Merge requests
  • !76

Added support for underline of the TextField.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/Zhukn1/master into master Nov 27, 2014
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 3

Created by: Zhukn1

I've added support for underlining the textfield.

There is a new bool value hasUnderline which defaults to NO. If you turn it on the - a straight line at the bottom of the TextField will appear.

You can customize the underlineColor and underlineHight of the line. The default values are underlineColor = 0.5f and underlineHight = [UIColor lightGrayColor] which draws a perfect 1px line on retina displays.

Also added the corresponding tests.

I've used your component in my project and just wanted to share the enhancement I had to make for the given design. Major thanks for building this - it really is a beauty!:)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/Zhukn1/master