Closed vancleve closed 1 year ago
On my monitor, the window that opens up after clicking to view/edit an annotation is too tall for my taste.
I tried to modify by customizing this:
(defcustom pdf-annot-edit-contents-display-buffer-action '((display-buffer-reuse-window display-buffer-split-below-and-attach) (inhibit-same-window . t) (window-height . 0.25)) "Display action when showing the edit buffer." :type display-buffer--action-custom-type)
from here https://github.com/vedang/pdf-tools/blob/c69e7656a4678fe25afbd29f3503dd19ee7f9896/lisp/pdf-annot.el#L1440 and changing the 0.25 for window-height to a smaller value.
0.25
window-height
However, that didn't seem to have any effect.
Any ideas how the window height might be customized?
Solution here: https://discord.com/channels/406534637242810369/1118651940042186752/1120838724977180722
On my monitor, the window that opens up after clicking to view/edit an annotation is too tall for my taste.
I tried to modify by customizing this:
from here https://github.com/vedang/pdf-tools/blob/c69e7656a4678fe25afbd29f3503dd19ee7f9896/lisp/pdf-annot.el#L1440 and changing the
0.25
forwindow-height
to a smaller value.However, that didn't seem to have any effect.
Any ideas how the window height might be customized?