A few small design fixes (#7933)

Reduce CheckButton font size.
Remove icons in TouchMenu truncated items popup.
Fix some wording.
reviewable/pr7941/r1
hius07 3 years ago committed by GitHub
parent a1d64de9b5
commit f711f060bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -404,7 +404,7 @@ Note that your selected font size is not affected by this setting.]]),
options = {
{
name = "font_size",
alt_name_text = _("Font size"),
alt_name_text = _("Font Size"),
item_text = tableOfNumbersToTableOfStrings(DCREREADER_CONFIG_FONT_SIZES),
item_align_center = 1.0,
spacing = 15,

@ -87,7 +87,7 @@ common_settings.time = {
{
text_func = function ()
local duration_format = G_reader_settings:readSetting("duration_format", "classic")
return T(_("Duration Format (%1)"), duration_format)
return T(_("Duration format (%1)"), duration_format)
end,
sub_item_table = {
{

@ -31,7 +31,7 @@ local CheckButton = InputContainer:new{
hold_callback = nil,
checked = false,
enabled = true,
face = Font:getFace("cfont"),
face = Font:getFace("smallinfofont"),
background = Blitbuffer.COLOR_WHITE,
overlap_align = "right",
text = nil,

@ -931,7 +931,10 @@ function TouchMenu:onMenuHold(item, text_truncated)
UIManager:show(InfoMessage:new{ text = help_text, })
end
elseif text_truncated then
UIManager:show(InfoMessage:new{ text = getMenuText(item), })
UIManager:show(InfoMessage:new{
text = getMenuText(item),
show_icon = false,
})
end
return true
end

@ -1,6 +1,6 @@
local _ = require("gettext")
return {
name = "statistics",
fullname = _("Reader statistics"),
fullname = _("Reading statistics"),
description = _([[Keeps and displays your reading statistics.]]),
}

Loading…
Cancel
Save