Grand Sorcerer
Posts: 6,656
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
Originally Posted by oren64
Patch to `Increasing The View Details Container`
Multi-version patch: 3.17.0-3.19.5761+
libnickel.so.1.0.0.patch
Spoiler:
Code:
<Patch>
patch_name = `Increasing The View Details Container`
patch_enable = `yes`
find_base_address = `qproperty-topMargin: 0;\n\tqproperty-leftMargin: 20;`
#<<Bottom margin top container >>
# Touch
#replace_string = 0050, `qproperty-bottomMargin: 10;`, `qproperty-bottomMargin: 05;`
# Glo\Aura
#replace_string = 00ED, `qproperty-bottomMargin:15;`, `qproperty-bottomMargin:10;`
# Aura HD\H2O & Glo HD
#replace_string = 0188, `qproperty-bottomMargin: 25;`, `qproperty-bottomMargin: 15;`
#<<reducing the book Info>>
# Touch
replace_string = 01D9, `min-height: 300px;`, `min-height: 200px;`
replace_string = 01ED, `max-height: 300px;`, `max-height: 200px;`
#Glo\Aura
replace_string = 0233, `min-height: 390px;`, `min-height: 230px;`
replace_string = 0247, `max-height: 390px;`, `max-height: 230px;`
# Aura HD\H2O & Glo HD
replace_string = 028C, `min-height: 550px;`, `min-height: 400px;`
replace_string = 02A0, `max-height: 550px;`, `max-height: 400px;`
#
find_base_address = `#details[qApp_deviceIsTrilogy="true"]`
#<<Increasing the details (text) Container>>
# Touch
replace_string = 0029, `min-height: 292px;`, `min-height: 390px;`
replace_string = 003D, `max-height: 292px;`, `max-height: 390px;`
# Glo\Aura
replace_string = 007C, `min-height: 365px;`, `min-height: 515px;`
replace_string = 0090, `max-height: 365px;`, `max-height: 515px;`
# Aura HD\H2O & Glo HD
replace_string = 00CE, `min-height: 560px;`, `min-height: 710px;`
replace_string = 00E2, `max-height: 560px;`, `max-height: 710px;`
</Patch>
Version patch: 3.13.1
libnickel.so.1.0.0.patch
Spoiler:
Code:
<Patch>
patch_name = `Increasing The View Details Container`
patch_enable = `yes`
find_base_address = `#bookInfoWidget[qApp_deviceIsTrilogy="true"]`
#<<reducing the book Info>>
# Touch
replace_string = 0030, `min-height: 256px;`, `min-height: 200px;`
replace_string = 0044, `max-height:256px;`, `max-height:200px;`
#Glo\Aura
replace_string = 008A, `min-height: 320px;`, `min-height: 230px;`
replace_string = 009E, `max-height:320px;`, `max-height:230px;`
# Aura HD\H2O
replace_string = 00E3, `min-height: 440px;`, `min-height: 320px;`
replace_string = 00F7, `max-height:440px;`, `max-height:320px;`
#
#<<top margin details (text)>>
# Touch
replace_string = 013E, `qproperty-topMargin: 32;`, `qproperty-topMargin: 10;`
# Glo\Aura
replace_string = 018C, `qproperty-topMargin: 40;`, `qproperty-topMargin: 20;`
# Aura HD\H2O
replace_string = 01D9, `qproperty-topMargin: 50;`, `qproperty-topMargin: 30;`
#
#<<Increasing the details (text) Container>>
# Touch
replace_string = 021D, `min-height: 292px;`, `min-height: 390px;`
replace_string = 0231, `max-height: 292px;`, `max-height: 390px;`
# Glo\Aura
replace_string = 0270, `min-height: 365px;`, `min-height: 515px;`
replace_string = 0284, `max-height: 365px;`, `max-height: 515px;`
# Aura HD\H2O
replace_string = 02C2, `min-height: 560px;`, `min-height: 760px;`
replace_string = 02D6, `max-height: 560px;`, `max-height: 760px;`
#
#
find_base_address = `#ratingContainer[qApp_deviceIsPhoenix="true"]`
#
#<<Canceling the rating container>>
# Glo\Aura
replace_string = 0064, `min-height:45px;`, `min-height:00px;`
replace_string = 007B, `max-height:45px;`, `max-height:00px;`
#replace_string = 0092, `qproperty-bottomMargin: 5;`, `qproperty-bottomMargin: 0;`
# Aura HD\H2O
replace_string = 0113, `min-height:70px;`, `min-height:00px;`
replace_string = 012A, `max-height:70px;`, `max-height:00px;`
#replace_string = 0141, `qproperty-bottomMargin: 25;`, `qproperty-bottomMargin: 0;`
</Patch>
Notes:
I only try this patch on my Kobo Glo FW 3.13.1, if there is overlapping or the text is cut, you can change the values in the patch.
The information at the top (Published, Rating,...), was add by Kobo Utilities Template editor.
Attachment 148578 Attachment 148579
|
Thank you, as I'm at 3.11 and rating container is useful for me  I've modified the patch for that FW and removing that. Very nice addition
|