Quote:
Originally Posted by oren64
I made a patch 'Changing the info panel in full size screensaver' for firmware 3.19.5613 that I post here.
It's for device with res 1440x1080 and 1024x768 (glo, aura, aura hd\h2o) i don't know if it work on glo hd.
|
I think there is a problem with the patch: you are replacing substrings within a larger string, but your replacements are shorter than the originals. This means that the larger string will be truncated after the first substring.
For example in this section:
Code:
#<<<Kobo glo+Kobo Aura>>>
#QWidget-height from the top
#To move the info pannel to the botten corner change 00px to 904px
replace_string = C059AF, `min-height: 680px;`, `min-height: 00px;`
replace_string = C059C3, `max-height: 680px;`, `max-height: 00px;`
the string will now end after the `min-height: 00px;`
To safely replace substrings within a larger string you need to make sure the replecements are the exact same length as the originals, e.g.
Code:
#To move the info pannel to the botten corner change 000px to 904px
replace_string = C059AF, `min-height: 680px;`, `min-height: 000px;`
replace_string = C059C3, `max-height: 680px;`, `max-height: 000px;`