View Single Post
Old 01-17-2016, 07:56 AM   #209
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Here are the two pieces of code needed for the "Increase The Books Cover Size In The Library" patch in the format used by modifications for bad eyes. Be aware that I did not change any values, therefore you would have to do this by yourself. When you set the new values, looking at this and this post can help you.

Spoiler:

Code:
<patch>
name=BF47CC(3.19.5761)
enabled=true
action=replace_string
position=autodetect
oldpart=DragonListWidget[qApp_deviceIsTrilogy="true"] {\n\tmin-height: 115px;\n\tmax-height: 115px;\n\tmin-width: 534px;\n\tmax-width: 534px;\n\tqproperty-leftMargin: 12;\n\tqproperty-spacing: 12;\n}\n\n
oldpart=DragonListWidget[qApp_deviceIsPhoenix="true"] {\n\tmin-width: 678px;\n\tmax-width: 678px;\n\tmin-height: 147px;\n\tmax-height: 147px;\n\tqproperty-leftMargin: 15;\n\tqproperty-spacing: 15;\n}\n\n
oldpart=DragonListWidget[qApp_deviceIsDragon="true"] {\n\tmin-width: 960px;\n\tmax-width: 960px;\n\tmin-height: 175px;\n\tmax-height: 175px;\n\tqproperty-spacing: 20;\n\tqproperty-leftMargin: 20;\n}\n\n
oldpart=DragonListWidget[qApp_deviceIsAlyssum="true"] {\n\tmin-height: 205px;\n\tmax-height: 205px;\n}
newpart=DragonListWidget[qApp_deviceIsTrilogy="true"] {\n\tmin-height: 115px;\n\tmax-height: 115px;\n\tmin-width: 534px;\n\tmax-width: 534px;\n\tqproperty-leftMargin: 12;\n\tqproperty-spacing: 12;\n}\n\n
newpart=DragonListWidget[qApp_deviceIsPhoenix="true"] {\n\tmin-width: 678px;\n\tmax-width: 678px;\n\tmin-height: 147px;\n\tmax-height: 147px;\n\tqproperty-leftMargin: 15;\n\tqproperty-spacing: 15;\n}\n\n
newpart=DragonListWidget[qApp_deviceIsDragon="true"] {\n\tmin-width: 960px;\n\tmax-width: 960px;\n\tmin-height: 175px;\n\tmax-height: 175px;\n\tqproperty-spacing: 20;\n\tqproperty-leftMargin: 20;\n}\n\n
newpart=DragonListWidget[qApp_deviceIsAlyssum="true"] {\n\tmin-height: 205px;\n\tmax-height: 205px;\n}
combineparts
</patch>

<patch>
name=BF4A44(3.19.5761)
enabled=true
action=replace_string
position=autodetect
oldpart=#coverPixmapView {\n\tmin-width: 60px;\n\tmax-width: 60px;\n\tmin-height: 90px;\n\tmax-height: 90px;\n}\n\n
oldpart=#coverPixmapView[qApp_deviceIsDragon="true"] {\n\tmin-width: 90px;\n\tmax-width: 90px;\n\tmin-height: 140px;\n\tmax-height: 140px;\n}\n\n
oldpart=#coverPixmapView[qApp_deviceIsAlyssum="true"] {\n\tmin-width: 100px;\n\tmax-width: 100px;\n\tmin-height: 160px;\n\tmax-height: 160px;\n}\n\n
oldpart=#coverPixmapView[qApp_deviceIsPhoenix="true"] {\n\tmin-width: 70px;\n\tmax-width: 70px;\n\tmin-height: 110px;\n\tmax-height: 110px;\n}\n\n
oldpart=#coverPixmapView[qApp_deviceIsDragon="true"][isPocket="true"],\n#coverPixmapView[qApp_deviceIsDragon="true"][isStack="true"] {\n\tmin-width: 100px;\n\tmax-width: 100px;\n\tmin-height: 140px;\n\tmax-height: 140px;\n}\n\n
oldpart=#coverPixmapView[qApp_deviceIsAlyssum="true"][isPocket="true"],\n#coverPixmapView[qApp_deviceIsAlyssum="true"][isStack="true"] {\n\tmin-width: 115px;\n\tmax-width: 115px;\n\tmin-height: 160px;\n\tmax-height: 160px;\n}\n\n
oldpart=#coverPixmapView[qApp_deviceIsPhoenix="true"][isPocket="true"],\n#coverPixmapView[qApp_deviceIsPhoenix="true"][isStack="true"] {\n\tmin-width: 80px;\n\tmax-width: 80px;\n\tmin-height: 110px;\n\tmax-height: 110px;\n}
newpart=#coverPixmapView {\n\tmin-width: 60px;\n\tmax-width: 60px;\n\tmin-height: 90px;\n\tmax-height: 90px;\n}\n\n
newpart=#coverPixmapView[qApp_deviceIsDragon="true"] {\n\tmin-width: 90px;\n\tmax-width: 90px;\n\tmin-height: 140px;\n\tmax-height: 140px;\n}\n\n
newpart=#coverPixmapView[qApp_deviceIsAlyssum="true"] {\n\tmin-width: 100px;\n\tmax-width: 100px;\n\tmin-height: 160px;\n\tmax-height: 160px;\n}\n\n
newpart=#coverPixmapView[qApp_deviceIsPhoenix="true"] {\n\tmin-width: 70px;\n\tmax-width: 70px;\n\tmin-height: 110px;\n\tmax-height: 110px;\n}\n\n
newpart=#coverPixmapView[qApp_deviceIsDragon="true"][isPocket="true"],\n#coverPixmapView[qApp_deviceIsDragon="true"][isStack="true"] {\n\tmin-width: 100px;\n\tmax-width: 100px;\n\tmin-height: 140px;\n\tmax-height: 140px;\n}\n\n
newpart=#coverPixmapView[qApp_deviceIsAlyssum="true"][isPocket="true"],\n#coverPixmapView[qApp_deviceIsAlyssum="true"][isStack="true"] {\n\tmin-width: 115px;\n\tmax-width: 115px;\n\tmin-height: 160px;\n\tmax-height: 160px;\n}\n\n
newpart=#coverPixmapView[qApp_deviceIsPhoenix="true"][isPocket="true"],\n#coverPixmapView[qApp_deviceIsPhoenix="true"][isStack="true"] {\n\tmin-width: 80px;\n\tmax-width: 80px;\n\tmin-height: 110px;\n\tmax-height: 110px;\n}
combineparts
</patch>

Insert the code into libnickel.so.1.0.0.txt.
tshering is offline   Reply With Quote