mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Font: unify font styling
This commit is contained in:
committed by
Qingping Hou
parent
19928f2b1b
commit
e1aa57f27e
@@ -19,9 +19,9 @@ local TextWidget = require("ui/widget/textwidget")
|
||||
local VerticalGroup = require("ui/widget/verticalgroup")
|
||||
local WidgetContainer = require("ui/widget/container/widgetcontainer")
|
||||
local UIManager = require("ui/uimanager")
|
||||
local Screen = Device.screen
|
||||
local logger = require("logger")
|
||||
local _ = require("gettext")
|
||||
local Screen = Device.screen
|
||||
|
||||
local ImageViewer = InputContainer:new{
|
||||
-- Allow for providing same different input types as ImageWidget :
|
||||
@@ -44,7 +44,7 @@ local ImageViewer = InputContainer:new{
|
||||
-- we use this global setting for rotation angle to have the same angle as reader
|
||||
rotation_angle = DLANDSCAPE_CLOCKWISE_ROTATION and 90 or 270,
|
||||
|
||||
title_face = Font:getFace("tfont", 22),
|
||||
title_face = Font:getFace("x_smalltfont"),
|
||||
title_padding = Screen:scaleBySize(5),
|
||||
title_margin = Screen:scaleBySize(2),
|
||||
image_padding = Screen:scaleBySize(2),
|
||||
|
||||
Reference in New Issue
Block a user