SuggestionView Font

Thread is closed for posting
2 posts, 0 answers
  1. Josian
    Josian avatar
    6 posts
    Member since:
    May 2010

    Posted 02 Sep 2016 Link to this post


    I changes the Font of the TexField of the AutoCompleteTextView.

    Now i would like to set the same Font to the SuggestionView.


    How can I do this ?



  2. Sophi
    Sophi avatar
    103 posts

    Posted 07 Sep 2016 Link to this post

    Hi Josian,

    You can customize the suggestionView by providing custom cell for it. 
    Consider the following snippets.
    @implementation CustomListViewCell
    - (instancetype)initWithFrame:(CGRect)frame
        self = [super initWithFrame:frame];
        if (self) {
            self.textLabel.font =[UIFont fontWithName:@"HelveticaNeue-Italic" size:16];
        return self;
    TKListView *listView = (TKListView*)self.autocomplete.suggestionView;
    [listView registerClass:[CustomListViewCell class] forCellWithReuseIdentifier:@"cell"];

    I hope this is helpful.

    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top