add ability to adjust side padding in main reader settings
This commit is contained in:
parent
f331b24386
commit
a47704071b
1 changed files with 12 additions and 0 deletions
|
@ -115,6 +115,18 @@ class SettingsReaderController : SettingsController() {
|
||||||
titleRes = R.string.crop_borders
|
titleRes = R.string.crop_borders
|
||||||
defaultValue = false
|
defaultValue = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
intListPreference(activity) {
|
||||||
|
key = Keys.webtoonSidePadding
|
||||||
|
titleRes = R.string.pref_webtoon_side_padding
|
||||||
|
entriesRes = arrayOf(
|
||||||
|
R.string.webtoon_side_padding_0,
|
||||||
|
R.string.webtoon_side_padding_10, R.string.webtoon_side_padding_15,
|
||||||
|
R.string.webtoon_side_padding_20, R.string.webtoon_side_padding_25
|
||||||
|
)
|
||||||
|
entryValues = listOf(0, 10, 15, 20, 25)
|
||||||
|
defaultValue = "0"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
preferenceCategory {
|
preferenceCategory {
|
||||||
titleRes = R.string.navigation
|
titleRes = R.string.navigation
|
||||||
|
|
Reference in a new issue