View Single Post
Old 10-02-2022, 04:34 AM   #11
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 kiwidude View Post
Surely it could be done by just adding a new action that can be bound to a keyboard shortcut that invokes the column header context menu code?
I added this. It is in calibre source now.
Quote:
I think the "Size all columns to contents" should be added to that menu, not in this plugin.

Then the "Shrink column if it is too wide to fit" can be left to you as the user to determine which ones you want to shrink. As chaley says it is too problematic to try to figure out which one makes the most sense to try to shrink and "when to stop" etc.
I am not going to do either of size all columns or shrink all columns. I don't think the first is useful enough to do, and in any event can now be done column by column using the shortcut to open the context menu. I don't see any way to get the second one right. There would be no end of "It didn't do what I want" reports.
chaley is offline   Reply With Quote