CLTokenInputView icon indicating copy to clipboard operation
CLTokenInputView copied to clipboard

Remove constants and expose styling

Open dmorrow opened this issue 9 years ago • 4 comments

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 avatar Dec 15 '16 16:12 dmorrow

@rsattar Any thoughts?

dmorrow avatar Dec 27 '16 20:12 dmorrow

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

mciarlo avatar Jan 26 '17 03:01 mciarlo

Would also love to see this merged.

PlayDevelop avatar Sep 28 '17 09:09 PlayDevelop

Any chance this can get merged in?

mindgrub-rkoch avatar Aug 01 '18 15:08 mindgrub-rkoch