mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Merge pull request #928 from Ebrehem/master
Customising footer font size via DMINIBAR_FONT_SIZE variable
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user