diff --git a/README.org b/README.org index 6f66985..83e249f 100644 --- a/README.org +++ b/README.org @@ -14,6 +14,7 @@ Get the file, add to load path, and - =eldoc-box-border= :: Adjust =:background= of this face for border color. - =eldoc-box-body= :: Adjust =:background= of this face for background color of childframe. ** Variable +- =eldoc-box-max-pixel-width= & =eldoc-box-max-pixel-height= :: Set them according to the screen resolution of your machine. - =eldoc-box-only-multi-line= :: Set this to non-nil and eldoc-box only display multi-line message in childframe. One line messages are left in minibuffer. ** Use with eglot diff --git a/eldoc-box.el b/eldoc-box.el index 267123a..02b8211 100644 --- a/eldoc-box.el +++ b/eldoc-box.el @@ -84,9 +84,12 @@ "Frame parameters used to create the frame.") (defvar eldoc-box-max-pixel-width 800 - "Maximum width of doc childframw in pixel.") -(defvar eldoc-box-max-pixel-height 1400 - "Maximum height of doc childframw in pixel.") + "Maximum width of doc childframw in pixel. +Consider your machine's screen's resolution when setting this variable.") + +(defvar eldoc-box-max-pixel-height 700 + "Maximum height of doc childframw in pixel. +Consider your machine's screen's resolution when setting this variable.") ;;;;; Function