View Single Post
Old 09-04-2014, 11:45 AM   #198
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,476
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by chaley View Post
Hmmmm: perhaps the best is a number of characters that controls the number of authors. If adding an author causes the count to go over the limit, an ellipsis instead of that author is added. Of course, the first author must be permitted even if the length exceeds the count.
Quote:
Originally Posted by kaufman View Post
I started using this tonight, and I like it, but I have an idea that might make it easier to use.

Instead of cutting of at a certain number of characters, how about cutting it off at a certain number of lines. Since the purpose of this is to limit how much space the books takes up on the list, it is really number of lines that users want to limit, not the number of characters.

The big advantages to doing it by lines is that

1) The first time a user does it, they don't have to do a trial and error to see how many characters there are in 1, 2, or 3 (or however many lines they want) lines.

2) If the user ever changes their font size, their selection will continue to work.

Quote:
Originally Posted by chaley View Post
It is difficult to get the number of "lines" that text uses but I might be able to do that. A bigger problem is that it is an incompatible change. I suppose I could divide the number of characters by 50 or some such to migrate to a line count, but in any event the user would be required to fix it.
I just tried an experiment. The effect on performance is very large. The problem is that the booklist cell must be laid out onto the screen before CC can find how many lines are required to hold the author(s) plus (if it is defined) the series. Once the layout is finished then the computations can be done, which will trigger a second layout. All of this happens while flinging, which makes the screen stutter.

Sorry, but I am going to say "no" to this one.
chaley is offline   Reply With Quote