|
|
#496 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 81,687
Karma: 150265991
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
|
|
|
|
#497 | |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49,647
Karma: 174632684
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Code:
python:
from calibre.gui2.library.bookshelf_view import width_from_pages
def evaluate(book, context):
val = book.get('#pages')
try:
pages = max(0, int(val))
except Exception:
return '0.25'
return '0.25'
Last edited by DNSB; Today at 02:21 PM. Reason: Added bookshelf images for fixed and variable width. |
|
|
|
|
| Advert | |
|
|
|
|
#498 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 81,687
Karma: 150265991
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
|
|
|
|
#499 | |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,171
Karma: 30317706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
In Shelf view, calibre://show-book/ links "don't work" if the show-book target is "out of sight". In List or Grid View, when a show-book link is 'clicked', the list or grid will 'jump' to target book… i.e. make it the currently selected book… and 'scroll' the list or grid to bring the target into View. That second step doesn't happen in Shelf view. The calibre links are in a long text custom column (Links/#links) which is shown in the Book details panel, hence 'clickable'. ** - but which arrow is the question. When a library is opened: ↑ moves to book on the left, ↓ moves to book on the right, → moves to book on shelf below the current one, ← moves to book on shelf above the current one. Now here's the rub… if I click on a book, the arrow keys start working as one would expect: ← moves to book on the left, → moves to book on the right, ↓ moves to book on shelf below the current one, ↑ moves to book on shelf above the current one. BR Last edited by BetterRed; Today at 07:04 PM. |
|
|
|
|
|
|
#500 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 595
Karma: 32228
Join Date: Feb 2012
Device: Onyx Boox Leaf
|
If you can add inverted color outline to the texts, I think it is readable.
|
|
|
|
| Advert | |
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| calibre 5: Beta testers needed | kovidgoyal | Calibre | 497 | 09-29-2020 01:58 AM |
| Beta testers needed | kovidgoyal | Calibre | 75 | 08-18-2019 08:00 PM |
| Beta testers for calibre 3.0 needed | kovidgoyal | Calibre | 598 | 07-09-2017 11:26 PM |
| Beta testers needed | kovidgoyal | Calibre | 54 | 05-20-2016 01:34 PM |
| Beta testers for calibre 2.0 needed | kovidgoyal | Calibre | 142 | 05-08-2015 05:44 AM |