mirror of https://github.com/koreader/koreader
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
461 B
Lua
22 lines
461 B
Lua
CreOptions = {
|
|
prefix = 'copt',
|
|
default_options = {
|
|
},
|
|
{
|
|
icon = "resources/icons/appbar.text.size.large.png",
|
|
options = {
|
|
{
|
|
name = "font_size",
|
|
item_text = {"Aa", "Aa", "Aa", "Aa", "Aa", "Aa", "Aa", "Aa"},
|
|
item_align_center = 1.0,
|
|
spacing = Screen:getWidth()*0.03,
|
|
item_font_size = {18, 20, 22, 24, 29, 33, 39, 44},
|
|
values = {18, 20, 22, 24, 29, 33, 39, 44},
|
|
default_value = 1,
|
|
event = "SetFontSize",
|
|
},
|
|
}
|
|
},
|
|
}
|
|
|