Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
getMaxImageWidth() isn't respected #639
I have many wide images in notebooks and when I export to PDF or preview in the preview pane, many of them overflows and a horizontal scrollbar appears:
The text breaks into new lines as it should do.
As I saw, the maximum image width is calculated here: https://github.com/pbek/QOwnNotes/blob/develop/src/mainwindow.cpp#L3500
In the preview pane you see that, after inserting the image, the horizontal scrollbar appears and a really wide image got inserted. This is bad because
As I saw, there is a
So, currently there's scrollbar for wide images and the optimal solution would be to shrink the image width to the display area (both in the preview pane and at PDF export time).
I think I found it, do you care to test the latest develop branch or wait until https://ci.appveyor.com/project/pbek/qownnotes/build/windows-b3108/artifacts is prepared and test that?
referenced this issue
Jul 23, 2017
Thank you, it's much better now!