You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to figure out a way to set the font property on a KSToken instance, but unfortunately, I didn't find a way to do that. I see that you set the font to be the system font of size 14 inside the 'drawRect:' method and there's a check happening to see if the KSToken instance has a superview and if the superview is of type KSTokenField then you use the same font of this tokenField. In my case, I use the method addToken on my tokenView and by debuggin the superview property inside KSToken it returns another object, so the font in my KSToken instances and my KSTokenView are different. It would be nice if there's a setter method maybe to set the font on any KSToken instance. Thank you!
The text was updated successfully, but these errors were encountered:
Hello! First, thanks for the nice library.
I was trying to figure out a way to set the font property on a
KSToken
instance, but unfortunately, I didn't find a way to do that. I see that you set the font to be the system font of size 14 inside the 'drawRect:' method and there's a check happening to see if theKSToken
instance has asuperview
and if thesuperview
is of typeKSTokenField
then you use the same font of this tokenField. In my case, I use the methodaddToken
on my tokenView and by debuggin thesuperview
property insideKSToken
it returns another object, so the font in myKSToken
instances and myKSTokenView
are different. It would be nice if there's a setter method maybe to set the font on anyKSToken
instance. Thank you!The text was updated successfully, but these errors were encountered: