SearchTextField icon indicating copy to clipboard operation
SearchTextField copied to clipboard

List labels are single line how do I make them multiline?

Open virendra656 opened this issue 8 years ago • 4 comments

Suggestion list labels are single line. How do I make them multiline?

virendra656 avatar May 17 '17 10:05 virendra656

It's related to https://github.com/apasccon/SearchTextField/issues/9

I'll try to think in some alternatives, but it's not that easy to allow the user of the component to provide a custom cell, since that functionality (the mess of dealing with tables that suggest results) is the one I tried to solved at the beginning.

Let me think in some solutions.

apasccon avatar May 17 '17 13:05 apasccon

Thanks for replying. You did admirable work. I don't want custom cell. All I want is numberOflines attribute on label to be 0. I was wondering if you could accept nib and class as a parameter. Just a suggestion I know you would do something better to save my life. 😉

virendra656 avatar May 17 '17 18:05 virendra656

Hey, any update of this? Thanks!

dasoga avatar Jan 17 '19 22:01 dasoga

Any news so far? I have tried to edit the existing files, created a custom UITableViewCell and set numberOfLines of the label to 0, which works, but there are some issues regarding the height calculations. Wondering if there is any update on this - would be awesome!

pennywise94 avatar Apr 04 '19 17:04 pennywise94