Closed ousia closed 1 year ago
Ah I see what’s happening I think. The “vertical” orientation is only specifying that the annotations should appear below the next slides, and the next slides are purely laid out on a grid that fills rows first (I think ceil(sqrt(# slides))
columns and ceil(# slides / # columns)
rows).
However I see the issue, which is that the space is not used very well. We have a constrained size, so ideally we should be able to pick a sort of inline-block layout (i.e. blocks on a line that wraps).
Alternately we could try and see if 1 less column (i.e. floor(sqrt(# slides))
) allows for larger preview slides and reflow ourselves (or try with any number of columns from 1
to # slides
).
Many thanks for the fix, @Cimbali.
It works perfectly fine.
Describe the bug
Vertical next slides are placed horizontally.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Next slides should be placed vertically, not horizontally.
Screenshots
Environment (please complete the following information):
OS: Fedora 35
Python version: 3.10
Pympress version: 1.7.2
Installation method: copr
Debug information (see below for file locations)