Pradip Messages: 109 Registered: February 2019 Location: India
Experienced Member
Yesss, I had started working in that line! Thanks a lot Mirek!
I think you meant to measure the width, not height, with GetWidth(), I've seen this works! I'm planning to measure the width of the intended ellipsis character as well and shorten the text and add the ellipsis to fit in the cell width. It will suffice as long as it works, needn't be too elegant
But how to implement the binary search with log(len(text)) (which I think will save few iterations)?