How to resize the PDF Preview Pane?

I migrated to 2.9.17 today (Linux). Since then, the PDF preview only uses a small section of the notes area. I can no longer see the full page at first glance, but have to scroll or switch to full-screen mode.

Is it possible to increase the size of the PDF Preview Pane?

Thanks very much.

Could you provide a screenshot to see what you mean?

In this example, the preview only shows approximately the first half of the first page. However, there would be enough space to display the entire first page.

I have the same issue with the portable Windows version of Joplin

Yes, it is possible to increase the size of the PDF Preview Pane in Linux after migrating to version 2.9.17. You can do this by adjusting the width of the Preview Pane using the splitter bar between the Preview Pane and the note list.
To increase the size of the Preview Pane, move the splitter bar to the right. To decrease the size, move the splitter bar to the left. You can also maximize the Preview Pane by clicking on the expand icon in the top right corner of the pane.
Additionally, you can customize the size of the Preview Pane by going to "Tools" > "Options" > "Note" > "PDF Viewer" and adjusting the "Maximum Width" setting. This setting controls the maximum width of the Preview Pane, and you can increase or decrease the value to adjust the size of the pane to your liking.
I hope this helps! Let me know if you have any other questions.

Thanks Ronda, but unfortunately it doesn't help.

On my machine, the size of the preview pane doesn't change when I vary your suggested settings.

That wouldn't really be a solution either, because as you can see in the screenshot of my previous post, there is already a lot of space that is not being used.

Same problem on mac.

@Rondamiddleton It isn’t the width that is the problem but the height

I’m surprised there isn’t more interest in this. PDF viewers usually show the whole of the first page.
Just wondering why Joplin’s viewer doesn’t when there seems to be enough room for it to do so.

3 Likes

Could someone create an issue on GitHub to track this please?

I have created an issue (my first one - hopefully I did it right :wink:).

2 Likes

I looked at Github, and can't tell if there is progress being made on this. I'm on a Mac and same exact issue.

It seems that the GitHub issue will be closed soon. For me this is fine because you can set the size of the PDF preview pane by adjusting the userstyle.css. This makes the problem much smaller than I initially thought. The following userstyle.css works well for my screen resolution:

.media-player.media-pdf {
    min-height: 90rem;
    max-width: 3000px;
}
6 Likes

That's a helpful tip that I did not know about! Agree that it pretty much solves the problem.

Another note app that I sometimes use, UpNote, has a setting in its preferences window to allow users to adjust the height of the PDF window. It looks like this:

image

I imagine this setting does much the same thing as editing the CSS (except that it doesn't allow adjusting the max-width). I'm not sure whether it's in Joplin's scope or vision to add a setting like this, and it doesn't much matter to me now that I know I can just edit the CSS. But I thought I should point out UpNote's approach just as one possible way to handle this.

just my2cents as a sidenote: please keep in mind that adjusting userstyle css is a workaround and no solution, especially when you‘re an ordinary user of joplin.

1 Like

I actually agree ... and that's what I had in mind when I shared UpNote's approach to making this setting more easily accessible. (I just don't feel that I know this app or community well enough to say what "an ordinary user" would expect ... ie what counts as a solution vs a workaround.)

for me, a solution is given by the application itself to solve a problem/ fulfill a task.

A workaround does the same in a (by the application) undescribed way.

1 Like

You are a hero!

Sorry, newbie here, just discovered Joplin and want to use it across windows and linux, but resizing the PDF preview pane is a deal breaker for me. Under windows, I can't find a Joplin userstyle.css. Any help?

Any further progress on a user friendly adjustable option?

Under Tools / Options /appearance / Show Advanced Settings
You'll get links to both the stylesheets used by Joplin.

1 Like

Thanks Steve. Pardon my ignorance, but in the previous mentioned userstyle.css workaround:

.media-player.media-pdf {
min-height: 90rem;
max-width: 3000px;
}

What is the significance of ".media-player.media-pdf"