Reorganize bottom menu config panels (#6131)
Mostly for the PDF bottom menu.
- Reorganize by topic, trying to limit the number
of widgets per panel to 4.
- Re-order some toggles from low to high ('off' then 'on').
- Show font size as number instead of a list of "Aa".
- PDF: add more font size values, and increase usable
contrast values.
- Add help_text to most PDF toggle titles.
- CRE line spacing: increase fine tuning min and max.
Also avoid zoom advice messages on book load.
This commit is contained in:
1 parent
46221985a6
commit
8991540462
6 files changed
+210
-160
No files matched your search
@@ -119,7 +119,7 @@ function ReaderZooming:onReadSettings(config)
|
||||
local zoom_mode = config:readSetting("zoom_mode") or
|
||||
G_reader_settings:readSetting("zoom_mode") or
|
||||
self.DEFAULT_ZOOM_MODE
|
||||
self:setZoomMode(zoom_mode)
|
||||
self:setZoomMode(zoom_mode, true) -- avoid informative message on load
|
||||
end
|
||||
|
||||
function ReaderZooming:onSaveSettings()
|
||||
@@ -340,8 +340,8 @@ function ReaderZooming:genSetZoomModeCallBack(mode)
|
||||
end
|
||||
end
|
||||
|
||||
function ReaderZooming:setZoomMode(mode)
|
||||
if self.ui.view.page_scroll and self.paged_modes[mode] then
|
||||
function ReaderZooming:setZoomMode(mode, no_warning)
|
||||
if not no_warning and self.ui.view.page_scroll and self.paged_modes[mode] then
|
||||
UIManager:show(InfoMessage:new{
|
||||
text = T(_([[
|
||||
%1
|
||||
|
||||
Reference in new issue
Block a user