View Single Post
Old 12-09-2015, 08:53 AM   #15
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by oren64 View Post
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;`
GeoffR is offline   Reply With Quote