mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
cre: add Word Gap setting to bottom config panel (#4026)
Maps to crengine's Space Condensing feature (named Word Gap as a similar feature is named for PDF)
This commit is contained in:
@@ -155,6 +155,19 @@ local CreOptions = {
|
||||
args = {0, 1, 2},
|
||||
event = "SetFontHinting",
|
||||
name_text_hold_callback = optionsutil.showValues,
|
||||
},
|
||||
{
|
||||
name = "space_condensing",
|
||||
name_text = S.WORD_GAP,
|
||||
toggle = {S.SMALL, S.MEDIUM, S.LARGE},
|
||||
values = {50, 75, 100},
|
||||
default_value = 75,
|
||||
args = {50, 75, 100},
|
||||
event = "SetSpaceCondensing",
|
||||
name_text_hold_callback = optionsutil.showValues,
|
||||
-- used by showValues
|
||||
name_text_suffix = "%",
|
||||
name_text_true_values = true,
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user