Merge pull request #928 from Ebrehem/master

Customising footer font size via DMINIBAR_FONT_SIZE variable
This commit is contained in:
Huang Xin
2014-09-27 19:32:42 +08:00
2 changed files with 3 additions and 1 deletions

View File

@@ -139,6 +139,8 @@ DMINIBAR_TOC_MARKER_WIDTH = 2 -- Looses usefulness > 3
DMINIBAR_HEIGHT = 7 -- Should be smaller than DMINIBAR_CONTAINER_HEIGHT
DMINIBAR_CONTAINER_HEIGHT = 14 -- Larger means more padding at the bottom, at the risk of eating into the last line
DMINIBAR_FONT_SIZE = 14
-- gesture detector defaults
DGESDETECT_DISABLE_DOUBLE_TAP = true

View File

@@ -23,7 +23,7 @@ local ReaderFooter = InputContainer:new{
progress_percentage = 0.0,
progress_text = nil,
text_font_face = "ffont",
text_font_size = 14,
text_font_size = DMINIBAR_FONT_SIZE,
bar_height = Screen:scaleByDPI(DMINIBAR_HEIGHT),
height = Screen:scaleByDPI(DMINIBAR_CONTAINER_HEIGHT),
padding = Screen:scaleByDPI(10),