View Single Post
Old 12-26-2022, 02:30 AM   #53
dreambeat
Enthusiast
dreambeat ought to be getting tired of karma fortunes by now.dreambeat ought to be getting tired of karma fortunes by now.dreambeat ought to be getting tired of karma fortunes by now.dreambeat ought to be getting tired of karma fortunes by now.dreambeat ought to be getting tired of karma fortunes by now.dreambeat ought to be getting tired of karma fortunes by now.dreambeat ought to be getting tired of karma fortunes by now.dreambeat ought to be getting tired of karma fortunes by now.dreambeat ought to be getting tired of karma fortunes by now.dreambeat ought to be getting tired of karma fortunes by now.dreambeat ought to be getting tired of karma fortunes by now.
 
dreambeat's Avatar
 
Posts: 29
Karma: 2145544
Join Date: Jan 2022
Device: Kobo Libra 2, Paperwhite 11th gen, Kobo Clara HD
Quote:
Originally Posted by jackie_w View Post
Following a request in the kobopatch request thread here is a beta patch for anyone who would prefer to see the names in the MyBooks Authors List and/or Collections List without the italics. I've tested in the current firmware, 4.34.20097, but it should work equally well in any firmware released in 2022.

If you decide to try it please leave any comments in this thread. I'll use any feedback (or lack thereof) to decide whether to include it in the standard kobopatch pack for future firmwares.

Copy into your copy of nickel.yaml (or wherever you normally store your customised nickel.yaml patches).
Spoiler:
Code:
beta Customise Authors List and Collections List names:
  - Enabled: no
  - Description: Change font style of MyBooks Authors/Collections names
  
  # Part 1: Authors List name
  - FindZlib: "AuthorsListWidget" # qss/AuthorsListWidget.qss
  - ReplaceZlibGroup:
      Replacements:
        # #hTitle Author name label to non-italic
        - Find:    "#hTitle {\n  qproperty-maxNumLines: 1;\n}"
          Replace: "#hTitle {\n  qproperty-maxNumLines:1; font-style:normal;\n}"
  
  # Part 2: Collections List name
  - FindZlib: "GenericListWidget" # qss/GenericListWidget.qss
  - ReplaceZlibGroup:
      Replacements:
        # #hTitle Collection name label to non-italic
        - Find:    "#hTitle {\n  qproperty-maxNumLines: 1;\n}"
          Replace: "#hTitle {\n  qproperty-maxNumLines:1; font-style:normal;\n}"
Thanks for this - the italics in the menus have been bothering me for a while. I just installed it, and it looks great.
dreambeat is offline   Reply With Quote