SpinWidget: similar size in portrait and landscape (#8226)

This commit is contained in:
hius07 authored and GitHub committed 2021-09-25 10:40:04 +02:00
1 parent 456dfeaf8e
commit 1e47cd7e5f
22 files changed
+15 -81

No files matched your search

@@ -665,7 +665,6 @@ end
function ReaderZooming:_zoomFactorChange(title_text, direction, precision)
local zoom_factor, overlap = self:getNumberOf(direction)
UIManager:show(SpinWidget:new{
width = math.floor(Screen:getWidth() * 0.6),
value = zoom_factor,
value_min = 0.1,
value_max = 10,
@@ -683,7 +682,6 @@ end
function ReaderZooming:_zoomPanChange(text, setting)
UIManager:show(SpinWidget:new{
width = math.floor(Screen:getWidth() * 0.6),
value = self[setting],
value_min = 0,
value_max = 90,