Quote:
Originally Posted by kaito
Is there a way to make the initial box for the pop-up dictionary bigger? I would like to see as much of the whole entry as possible without having to swipe through the different pages or press&hold on the word yet again to see the full page.
|
Tshering solution in:
https://www.mobileread.com/forums/sho...&postcount=141
Specifically I think it is sufficient to add these two patches in the files of metazoa patches (v.3.15.0):
in
libnickel.so.1.0.0.patch:
Code:
<Patch>
patch_name = `relleno_ventana`
patch_enable = `yes`
replace_string = BCCF90, `#textEdit {\n\tmin-height: 150px;\n\tmax-height: 150px;\n\tmin-width: 515px;\n\tmax-width: 515px;\n}\n\n#textEdit[qApp_deviceIsPhoenix="true"] {\n\tmin-height: 190px;\n\tmax-height: 190px;\n\tmin-width: 550px;\n\tmax-width: 550px;\n}\n\n#textEdit[qApp_deviceIsDragon="true"] {\n\tmin-height: 235px;\n\tmax-height: 235px;\n\tmin-width: 930px;\n\tmax-width: 930px;\n}`, `#textEdit {\n\tmin-height: 290px;\n\tmax-height: 290px;\n\tmin-width: 575px;\n\tmax-width: 575px;\n}\n\n#textEdit[qApp_deviceIsPhoenix="true"] {\n\tmin-height: 371px;\n\tmax-height: 371px;\n\tmin-width: 550px;\n\tmax-width: 550px;\n}\n\n#textEdit[qApp_deviceIsDragon="true"] {\n\tmin-height: 533px;\n\tmax-height:533px;\n\tmin-width: 930px;\n\tmax-width: 930px;\n}`
</Patch>
in
nickel.patch (new file in metazoa patches):
Code:
<Patch>
patch_name = `Ventana_diccionario`
patch_enable = `yes`
replace_string = 4C1AA, `#InlineDictionaryView {\n\tmin-width: 500px;\n\tmax-width: 500px;\n\tmin-height: 220px;\n\tmax-height: 220px;\n}\n#InlineDictionaryView[qApp_deviceIsPhoenix="true"] {\n\tmin-width: 650px;\n\tmax-width: 650px;\n\tmin-height: 280px;\n\tmax-height: 280px;\n}\n#InlineDictionaryView[qApp_deviceIsDragon="true"] {\n\tmin-width: 980px;\n\tmax-width: 980px;\n\tmin-height: 350px;\n\tmax-height: 350px;\n}\n`, `#InlineDictionaryView {\n\tmin-width: 560px;\n\tmax-width: 560px;\n\tmin-height: 330px;\n\tmax-height: 330px;\n}\n#InlineDictionaryView[qApp_deviceIsPhoenix="true"] {\n\tmin-width: 650px;\n\tmax-width: 650px;\n\tmin-height: 410px;\n\tmax-height: 410px;\n}\n#InlineDictionaryView[qApp_deviceIsDragon="true"] {\n\tmin-width: 980px;\n\tmax-width: 980px;\n\tmin-height: 580px;\n\tmax-height: 580px;\n}\n`
</Patch>