Kopt: keep 4 items per panel

move newly enabled auto straighten from settings to crop
pull/8305/head
yparitcher 3 years ago committed by poire-z
parent 4c0d11c6d9
commit feab232f35

@ -110,6 +110,19 @@ In 'semi-auto' and 'manual' modes, you may need to define areas once on an odd p
name_text_hold_callback = optionsutil.showValues,
help_text = _([[Set margins to be applied after page-crop and zoom modes are applied.]]),
},
{
name = "auto_straighten",
name_text = _("Auto Straighten"),
toggle = {_(""), _(""), _("10°"), _("15°"), _("25°")},
values = {0, 5, 10, 15, 25},
event = "DummyEvent",
args = {0, 5, 10, 15, 25},
more_options = true,
default_value = DKOPTREADER_CONFIG_AUTO_STRAIGHTEN,
name_text_hold_callback = optionsutil.showValues,
help_text = _([[Attempt to automatically straighten tilted source pages.
Will rotate up to specified value.]]),
},
}
},
{
@ -566,19 +579,6 @@ This can also be used to remove some gray background or to convert a grayscale o
end,
name_text_hold_callback = optionsutil.showValues,
},
{
name = "auto_straighten",
name_text = _("Auto Straighten"),
toggle = {_(""), _(""), _("10°"), _("15°"), _("25°")},
values = {0, 5, 10, 15, 25},
event = "DummyEvent",
args = {0, 5, 10, 15, 25},
more_options = true,
default_value = DKOPTREADER_CONFIG_AUTO_STRAIGHTEN,
name_text_hold_callback = optionsutil.showValues,
help_text = _([[Attempt to automatically straighten tilted source pages.
Will rotate up to specified value.]]),
},
{
name = "detect_indent",
name_text = _("Indentation"),

Loading…
Cancel
Save