I'm attempting to find a good solution for customizing the font of the fieldName label (fieldLabel). With https://github.com/clusterinc/CLTokenInputView/issues/9 implemented (thank you), I'm able to customize the font of the tokens and input text as follows:
But this produces the following results in your sample application (notice the truncated labels):
I've added those two lines to the beginning of -viewDidLoad in CLTokenInputViewController.m.
I've added a temporary work around to my app by setting fieldName to nil and back to it's intended value on the next run loop cycle inside of [[NSOperationQueue mainQueue] addOperationWithBlock:...], but this solution is less than ideal, and leads to further layout issues with the text insertion point after rotating the interface.
Do you have any recommendations for a solution or a fix in mind? I'd like to support dynamic type, and allow the field label to grow and shrink like the tokens and input text.
Also, thank you very much for the hard work on CLTokenInputView!
I'm attempting to find a good solution for customizing the font of the
fieldName
label (fieldLabel
). With https://github.com/clusterinc/CLTokenInputView/issues/9 implemented (thank you), I'm able to customize the font of the tokens and input text as follows:I hoped to be able to do the same for the label using the following:
But this produces the following results in your sample application (notice the truncated labels):
I've added those two lines to the beginning of
-viewDidLoad
inCLTokenInputViewController.m
.I've added a temporary work around to my app by setting
fieldName
tonil
and back to it's intended value on the next run loop cycle inside of[[NSOperationQueue mainQueue] addOperationWithBlock:...]
, but this solution is less than ideal, and leads to further layout issues with the text insertion point after rotating the interface.Do you have any recommendations for a solution or a fix in mind? I'd like to support dynamic type, and allow the field label to grow and shrink like the tokens and input text.
Also, thank you very much for the hard work on
CLTokenInputView
!