New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Page layout is unaligned and pages are not centered vertically #5268
Labels
Comments
I've been thinking about how this should best be solved. I suggest an option to choose between "grid" and "constant padding". I sketched how that would look. If someone could maybe give some feedback before I try to implement it all, it'd be greatly appreciated. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Operating System
Linux
(Linux only) Distribution
openSUSE Tumbleweed
(Linux only) Desktop Environment
KDE Plasma
(Linux Only) Display Server
Wayland
Installation Method
Build from source
Xournal++ Version
xournalpp 1.2.1+dev (889aefd3)
libgtk Version
libgtk: 3.24.38
Bug Description
When pages of different sizes are layout in multiple rows, pages are not aligned as they should (there is some padding missing on the more narrow pages).
Additionally they are not centered vertically.
Expected Behaviour
All layout grid cells should be aligned, and pages should be centered horizontally and vertically within them.
Steps to Reproduce
Additional Context
I have a fix ready. Looks like this:
I know that horizontal alignement and vertical centering are kind of separate issues but I think it looks much nicer like this.
PR incoming
The text was updated successfully, but these errors were encountered: