View Single Post
Old 09-17-2022, 02:10 AM   #24
01100001
Enthusiast
01100001 began at the beginning.
 
Posts: 33
Karma: 10
Join Date: Sep 2022
Device: Microsoft Surface Pro 7, Apple iPad
Thumbs up

I wanted a bullet/unordered list so I could easily differentiate, at a glance, the different terms of a field (tags, or filenames (custom column))—which look like one long line of links by default.

In the end I decided that going the least intrusive way (albeit not best aesthetically or preferred) is better than hacking code in this manner unless absolutely necessary.

Just a bit of CSS code helps me with that (added under Preferences > Look & feel > Book details > Text styling):

Code:
/* CUSTOM */
#_filenames {
    color: red;
}
#_filenames .title {
    color: black;
}
So now, my Filenames (#filenames) field in Book details pane, looks like this:

Click image for larger version

Name:	Screenshot 2022-09-17 112955.png
Views:	467
Size:	53.0 KB
ID:	196587

Simple, yet much better (than default).

I know this isn't what I asked, and you all were very kind and helpful with my actual question. What learnt here, I am sure will be helpful elsewhere (and to someone else).

Thank you all!

Reference: https://doc.qt.io/qt-5/richtext-html-subset.html

Last edited by 01100001; 09-17-2022 at 07:59 AM. Reason: Added reference link
01100001 is offline   Reply With Quote