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
  • !139

Attributed Color Convenience Methods

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/szweier/attributed-placeholder-and-convenience-method into master Jun 17, 2016
  • Overview 5
  • Commits 2
  • Pipelines 0
  • Changes 2

Created by: szweier

What this does

• Added a method to allow you to set attributed placeholder while also providing a separate float title. • Added a method that allows you to set the desired placeholder color without having to set a color each time you set an attributed string. (Note: if a placeholder color is set but you use attributed string you can still override the placeholder color)

Reason for doing

• Method for setting both attributed placeholder and float title seems useful to have for scenarios where someone may need both • In some setups (mine included) methods may exist that return a textfield that is setup with specific styles that should apply throughout the app. Being able to set the placeholder color there allows us to keep code elsewhere cleaner. Single point for color rather than each individual location we set a placeholder.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/szweier/attributed-placeholder-and-convenience-method