Margins info msg: show left/right margin values

As we can now tweak them independantly.
reviewable/pr7134/r1
poire-z 3 years ago
parent ebf997dd99
commit 475bb648b0

@ -497,12 +497,13 @@ function ReaderTypeset:onSetPageMargins(margins, refresh_callback)
text = T(_([[
Margins set to:
horizontal: %1 (%2px)
top: %3 (%4px)
bottom: %5 (%6px)
left: %1 (%2px)
right: %3 (%4px)
top: %5 (%6px)
bottom: %7 (%8px)
Tap to dismiss.]]),
margins[1], left, margins[2], top, margins[4], bottom),
margins[1], left, margins[3], right, margins[2], top, margins[4], bottom),
dismiss_callback = refresh_callback,
})
end

Loading…
Cancel
Save