View Single Post
Old 06-04-2016, 06:14 PM   #7
bigbless
Junior Member
bigbless began at the beginning.
 
Posts: 9
Karma: 10
Join Date: May 2016
Device: Kobo Aura HD
Quote:
Originally Posted by sautecambre View Post
OK, forgive me a second time, it works... I thinck I need to sleep !
Thank you very much !
Gilles
Hello sautecambre, how did you manage to make it work because I'm having the same problem as you have , everything works good but on the last 4 lines if you select any word to get it translated it will appear at the top and not at the bottom?

What is your libnickel.so.1.0.0.patch here's mine:

Code:
<Patch>
patch_name = `Dictionary frame size`
patch_enable = `yes`
# Multi-version patch: 3.13.1-3.19.5761+
#file libnickel.so.1.0.0.patch
#
find_base_address = `#dictionary {\n\tmargin-top: 10px;`
replace_string = 000F, `margin-top: 10px;`, `margin-top:999px;`
# Dictionary text margin-glo
replace_string = 004F, `margin: 25px;`, `margin: 10px;`
# Dictionary text margin-Aura hd
replace_string = 008C, `margin: 20px;`, `margin: 10px;`
# Dictionary text area size in frame-Mini
replace_string = 00A9, `min-height: 150px;`, `min-height: 260px;`
replace_string = 00BD, `max-height: 150px;`, `max-height: 260px;`
replace_string = 00D1, `min-width: 515px;`, `min-width: 520px;`
replace_string = 00E4, `max-width: 515px;`, `max-width: 520px;`
# Dictionary text area size in frame-Glo
replace_string = 0123, `min-height: 190px;`, `min-height: 320px;`
replace_string = 0137, `max-height: 190px;`, `max-height: 320px;`
replace_string = 014B, `min-width: 550px;`, `min-width: 660px;`
replace_string = 015E, `max-width: 550px;`, `max-width: 660px;`
# Dictionary text area size in frame-Aura hd
replace_string = 019C, `min-height: 235px;`, `min-height: 930px;`
replace_string = 01B0, `max-height: 235px;`, `max-height: 930px;`
replace_string = 01C4, `min-width: 930px;`, `min-width: 978px;`
replace_string = 01D7, `max-width: 930px;`, `max-width: 978px;`
#padding-top
replace_string = 01F1, `padding-top: 20px;`, `padding-top: 80px;`
#
#
find_base_address = `#footer[qApp_deviceIsPhoenix="true"] {\n\tqproperty-leftMargin: 20;\n\tqproperty-rightMargin: 20;\n\tqproperty-bottomMargin: 20;`
# Footer: Page and language font & margin in frame-Mini-Glo
replace_string = 005F, `qproperty-bottomMargin: 20;`, `qproperty-bottomMargin: 00;`
# Footer: Page and language font & margin in frame-Aura hd
replace_string = 00DC, `qproperty-bottomMargin: 25;`, `qproperty-bottomMargin: 90;`
</Patch>
and here's mine : nickel.patch
Code:
<Patch>
patch_name = `Dictionary frame size`
patch_enable = `yes`
# Multi-version patch: 3.13.1-3.19.5613
#file nickel.patch
find_base_address = `q#InlineDictionaryView {\n\tmin-width: 500px;`
#pop-up box diamension-Mini
replace_string = 001A, `min-width: 500px;`, `min-width: 540px;`
replace_string = 002D, `max-width: 500px;`, `max-width: 540px;`
replace_string = 0040, `min-height: 220px;`, `min-height: 300px;`
replace_string = 0054, `max-height: 220px;`, `max-height: 300px;`
#pop-up box diamension-Glo
replace_string = 009F, `min-width: 650px;`, `min-width: 680px;`
replace_string = 00B2, `max-width: 650px;`, `max-width: 680px;`
replace_string = 00C5, `min-height: 280px;`, `min-height: 360px;`
replace_string = 00D9, `max-height: 280px;`, `max-height: 360px;`
#pop-up box diamension-Aura hd
replace_string = 0123, `min-width: 980px;`, `min-width: 998px;`
replace_string = 0136, `max-width: 980px;`, `max-width: 998px;`
replace_string = 0149, `min-height: 350px;`, `min-height: 900px;`
replace_string = 015D, `max-height: 350px;`, `max-height: 900px;`
</Patch>
I'm only changing the aura hd configurations since it is my device
bigbless is offline   Reply With Quote