Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 05-05-2022, 07:08 PM   #1
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Integer Formatting

What do I put in Integer column format string to get it right aligned with a trailing space(s) to create a gap between it and the adjacent column that is left aligned?

Tried various things without success.

On Windows: In most (all ?) cases pressing Ctrl+Enter will 'click' the OK button in calibre dialogue boxes. I keep forgetting this, thought if I wrote it down I might remember it

BR
BetterRed is offline   Reply With Quote
Old 05-06-2022, 07:15 AM   #2
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,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BetterRed View Post
What do I put in Integer column format string to get it right aligned with a trailing space(s) to create a gap between it and the adjacent column that is left aligned?

Tried various things without success.
As far as I know, you can't. Fields have all leading and trailing spaces stripped.

You could add a thin empty column icon to the left-aligned column. For example, the attached icon is 40x128 empty white with the transparent color set to white. This advanced icon rule template:
Click image for larger version

Name:	Clipboard01.jpg
Views:	111
Size:	57.5 KB
ID:	193635

produces this:
Click image for larger version

Name:	Clipboard02.jpg
Views:	105
Size:	4.1 KB
ID:	193636

The empty icon is between these lines. Right click toward the left until you get the option to copy/download it. EDIT: See @BetterRed's post below where he attached to file as a zip. Much easier.

Last edited by chaley; 05-06-2022 at 07:51 AM.
chaley is offline   Reply With Quote
Advert
Old 05-06-2022, 07:40 AM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none


I had a transparent png, so I've attached that to the Tags column if it's set (it's to right of the integer). I use the transparent icon in composed icons to get spatial alignment.

Added: I've attached your narrow one in a zip - it'll be easier for others to download.

BR
Attached Files
File Type: zip empty_space.zip (296 Bytes, 419 views)

Last edited by BetterRed; 05-06-2022 at 07:46 AM.
BetterRed is offline   Reply With Quote
Old 05-06-2022, 07:48 AM   #4
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,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BetterRed View Post
Added: I've attached your narrow one in a zip - it'll be easier for others to download.

BR
I should have thought of that.
chaley is offline   Reply With Quote
Old 05-06-2022, 08:16 AM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
And I should have thought of using an icon on the adjacent column - it's only been irritating me for a decade or more
BetterRed is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Integer column: Defining range of numbers ownedbycats Library Management 2 02-25-2021 05:44 PM
Adding a % to an integer column. ownedbycats Library Management 2 11-01-2020 12:55 PM
Plugboard template series_index integer output as text Thorned Rose Library Management 4 12-24-2017 09:58 AM
Integer Column Quetico Reading and Management 0 07-09-2017 11:27 PM
format integer cells as blank when 0 BetterRed Calibre 17 04-28-2016 05:03 PM


All times are GMT -4. The time now is 08:40 AM.


MobileRead.com is a privately owned, operated and funded community.