Skip to content

Remove constants and expose styling#44

Open
dmorrow wants to merge 16 commits into
rsattar:masterfrom
dmorrow:remove-constants-expose-styling
Open

Remove constants and expose styling#44
dmorrow wants to merge 16 commits into
rsattar:masterfrom
dmorrow:remove-constants-expose-styling

Conversation

@dmorrow

@dmorrow dmorrow commented Dec 15, 2016

Copy link
Copy Markdown

I've exposed a number of properties on CLTokenInputView to enable better customization.
All of the properties exposed were previous handled by constants.
These include:
padding (PADDING_*),fieldPadding, standardRowHeight, textFieldHSpace, linePadding (VSpace), minimumTextFieldWidth, tokenPadding

To allow for text styling without exposing the actual fields, there are now options for NSAttributedText attributes and NSAttributedStrings where needed.
attributedFieldName, attributedPlaceholderText, defaultTextAttributes, selectedTextAttributes, placeholderTextAttributes

@dmorrow

dmorrow commented Dec 27, 2016

Copy link
Copy Markdown
Author

@rsattar Any thoughts?

@mciarlo

mciarlo commented Jan 26, 2017

Copy link
Copy Markdown

Would love to see this get merged :) cc @rsattar

@PlayDevelop

Copy link
Copy Markdown

Would also love to see this merged.

@mindgrub-rkoch

Copy link
Copy Markdown

Any chance this can get merged in?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants