sumatrapdfreader / sumatrapdf

SumatraPDF reader
http://www.sumatrapdfreader.org
GNU General Public License v3.0
13.61k stars 1.73k forks source link

annotation editor's list of annotations is not consistently sized #3769

Open zack4200 opened 1 year ago

zack4200 commented 1 year ago

Sometimes the list of annotations is ~1 inch tall on the screen and other times its roughly double. Closing and re-opening the editor occasionally changes size of the list but it's not consistent or predictable whether it will remain a given size or change after closing the window. Opening the editor for multiple files will also not always use the same size as seen in the screenshot below. image

This is with prerelease 3.5.15711

kjk commented 1 year ago

The logic is: 5 lines or 14 lines if window is > 1024 in height.

But you're right: the logic is pretty bad and the list should expand to take available space.