View Single Post
Old 11-27-2021, 05:51 AM   #53
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
My custom patch has stopped working. (Error: "substring to find is not unique"). It's been too long, and I completely forget how to generate a searchable version of nickel. Can someone remind me? Failing that, perhaps someone knows how to change this to make it work again? My patch reduces the size of the sleeping panel on the Glo HD and looks as follows:

Resize info panel:
- Enabled: yes
- Description: |
Custom patch to change the width of the info panel.
- FindZlib: "#infoWidget"
- ReplaceZlibGroup:
Replacements:
# #infoWidget reduce width
- {Find: "width: 470px;", Replace: "width: 235px;"} #Dragon
# #infoWidget, #infoFrame: reduce top/bottom/right margins
- {Find: "Margin: 22px;", Replace: "Margin: 11px;"} #Dragon
# #infoFrame: reduce left margin
- {Find: "leftMargin: 44px;", Replace: "leftMargin: 22px;"} #Dragon

Last edited by BenChen; 11-27-2021 at 05:57 AM.
BenChen is offline   Reply With Quote