[UX] Normalize SpinWidget and DoubleSpinWidget
- Use same names for options; - Have them both movable - Add option to keep widget shown on Apply (and use that when appropriate: when the value may have an immediate visual effect, so one can tweak it without having to go thru menus to re-open it again).
This commit is contained in:
1 parent
d69a992e1d
commit
e5206922c6
10 files changed
+101
-42
No files matched your search
@@ -420,6 +420,7 @@ When the book's language tag is not among our presets, no specific features will
|
||||
Set minimum length before hyphenation occurs.
|
||||
These settings will apply to all books with any hyphenation dictionary.
|
||||
'Use language defaults' resets them.]]),
|
||||
keep_shown_on_apply = true,
|
||||
callback = function(left_hyphen_min, right_hyphen_min)
|
||||
G_reader_settings:saveSetting("hyph_left_hyphen_min", left_hyphen_min)
|
||||
G_reader_settings:saveSetting("hyph_right_hyphen_min", right_hyphen_min)
|
||||
|
||||
Reference in new issue
Block a user