View Single Post
Old 04-15-2014, 06:27 AM   #1097
chrox
Zealot
chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.
 
Posts: 144
Karma: 405567
Join Date: Nov 2012
Device: K3 KPW PB840
Quote:
Originally Posted by SHunter101 View Post
Hi:

I have a question about setting margins. Is there a way to set the default margins for the "Small", "Medium" and "Large" buttons on the Page Margin section? I want to maximize my reading space and I like very narrow margins. I tried playing with the epub.css file, adding specific margins controls (eg margins: 0em 0.05em) and @page properties, but nothing seems to work. Is there a default setting some place that I can change the values of the above buttons? Under 'Set render Style' selecting clear still gives a default margin of about 1em. Also, I have pre-edited all my epub margins to reflect my reading style. All my epubs work great in Coolreader and nickel software (patched).

Thank you.
Shunter
Look at here
Code:
-- 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}
in koreader/defaults.lua .
chrox is offline   Reply With Quote