View Single Post
Old 01-06-2017, 12:20 PM   #2676
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by ebrahimpak View Post
Hi everybody,

I wanna shrink the margin size in epubs. When I open the: DCREADER_CONFIG_MARGIN_SIZE_SMALL={...}
in the advanced settings, there are 4 parameters:
1=5
2=10
3=5
4=10
I have no idea how to use these parameters. Any help would be greatly appreciated.
Best,
Ebrahim
The .lua files for the settings have comments that explain the options, (they are green if you are using Notepad++) From the old defaults.lua:
-- crereader margin sizes
-- margin {left, top, right, bottom} in pixels
DCREREADER_CONFIG_MARGIN_SIZES_SMALL = {5, 10, 5, 10}
DCREREADER_CONFIG_MARGIN_SIZES_MEDIUM = {10, 15, 10, 15}
DCREREADER_CONFIG_MARGIN_SIZES_LARGE = {20, 20, 20, 20}

Luck;
Ken
P.S.; Reading all the Green comments in the defaults.lua, can give the user who is even a little tech-savvy, a decent look at how those features work.

Last edited by Ken Maltby; 01-06-2017 at 12:31 PM.
Ken Maltby is offline   Reply With Quote