View Single Post
Old 05-15-2017, 02:02 AM   #105
JotaCe
Member
JotaCe doesn't litterJotaCe doesn't litter
 
Posts: 23
Karma: 126
Join Date: May 2017
Location: Madrid
Device: Kindle PW2, PW3
Quote:
Originally Posted by knc1 View Post
Well, from reading what little you posted . . . .

The first you found reads the scale factors from an integer array and converts them into a pixel count (to match the screen resolution).

The second you found actually loads the scale factors into the array.

There is no limit to the number of times a constant string value can be referenced.
But I suppose that the last reference it the one that counts, right?

Something strange is happening: after changing the second reference (50/10/150 to 10/20/30, for example), it works: I go to the Aa menu, I change the margins, and the three margins show as I want. However, as soon as I change the page (one page forward or one page rearwards), the margins change again to the default (well... not sure if as large as the default, but close).

Maybe I have to change both references, the "relative" and the "absolute" ones? It seems strange, I suppose the second one supersees the first one...

Maybe I have to change also the "reader.content.leftMargin" (and "rightMargin")? This was not included in the instructions to be changed in the posts I have read, but maybe...

Still trying...
JotaCe is offline   Reply With Quote