mirror of
https://github.com/koreader/koreader
synced 2024-11-16 06:12:56 +00:00
ButtonDialogTitle: no bold font in the title by default (#8557)
This commit is contained in:
parent
d4eecd9f00
commit
1df6ab751b
@ -51,7 +51,7 @@ local T = BaseUtil.template
|
||||
local FileManager = InputContainer:extend{
|
||||
title = _("KOReader"),
|
||||
root_path = lfs.currentdir(),
|
||||
|
||||
|
||||
clipboard = nil, -- for single file operations
|
||||
selected_files = nil, -- for group file operations
|
||||
|
||||
@ -119,7 +119,6 @@ function FileManager:setupLayout()
|
||||
width = icon_size,
|
||||
height = icon_size,
|
||||
padding = Size.padding.default,
|
||||
padding_left = Size.padding.large,
|
||||
padding_right = Size.padding.large,
|
||||
padding_bottom = 0,
|
||||
callback = function()
|
||||
@ -134,7 +133,6 @@ function FileManager:setupLayout()
|
||||
height = icon_size,
|
||||
padding = Size.padding.default,
|
||||
padding_left = Size.padding.large,
|
||||
padding_right = Size.padding.default,
|
||||
padding_bottom = 0,
|
||||
callback = function() self:onShowPlusMenu() end,
|
||||
}
|
||||
|
@ -236,7 +236,6 @@ function FileSearcher:onMenuHold(item)
|
||||
|
||||
self.results_dialog = ButtonDialogTitle:new{
|
||||
title = is_file and fullpath or fullpath .. "/",
|
||||
use_info_style = true,
|
||||
buttons = buttons,
|
||||
}
|
||||
UIManager:show(self.results_dialog)
|
||||
|
@ -765,7 +765,6 @@ function ReaderLink:onGoToExternalLink(link_url)
|
||||
end
|
||||
dialog = ButtonDialogTitle:new{
|
||||
title = text,
|
||||
use_info_style = true,
|
||||
buttons = buttons,
|
||||
}
|
||||
UIManager:show(dialog)
|
||||
|
@ -22,7 +22,7 @@ local ButtonDialogTitle = InputContainer:new{
|
||||
title_face = Font:getFace("x_smalltfont"),
|
||||
title_padding = Size.padding.large,
|
||||
title_margin = Size.margin.title,
|
||||
use_info_style = false, -- set to true to have the same look as ConfirmBox
|
||||
use_info_style = true, -- set to false to have bold font style of the title
|
||||
info_face = Font:getFace("infofont"),
|
||||
info_padding = Size.padding.default,
|
||||
info_margin = Size.margin.default,
|
||||
|
@ -670,7 +670,6 @@ function OPDSBrowser:createNewDownloadDialog(path, filename, buttons)
|
||||
self.download_dialog = ButtonDialogTitle:new{
|
||||
title = T(_("Download folder:\n%1\n\nDownload filename:\n%2\n\nDownload file type:"),
|
||||
BD.dirpath(path), filename),
|
||||
use_info_style = true,
|
||||
buttons = buttons
|
||||
}
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user