emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ivy-posframe 05432ef 063/195: fallback width = frame-wi


From: Feng Shu
Subject: [elpa] externals/ivy-posframe 05432ef 063/195: fallback width = frame-width * 0.618
Date: Sat, 3 Oct 2020 07:11:46 -0400 (EDT)

branch: externals/ivy-posframe
commit 05432ef3c21566fa4039e037fa1a62784bfb062a
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>

    fallback width = frame-width * 0.618
---
 ivy-posframe.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ivy-posframe.el b/ivy-posframe.el
index f183172..10eb265 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -209,7 +209,7 @@ This variable is useful for `ivy-posframe-read-action' .")
        :background-color (face-attribute 'ivy-posframe :background)
        :foreground-color (face-attribute 'ivy-posframe :foreground)
        :height (or ivy-posframe-height ivy-height)
-       :width (or ivy-posframe-width (/ (frame-width) 2))
+       :width (or ivy-posframe-width (round (* (frame-width) 0.62)))
        :min-height (or ivy-posframe-min-height 10)
        :min-width (or ivy-posframe-min-width 50)
        :internal-border-width ivy-posframe-border-width



reply via email to

[Prev in Thread] Current Thread [Next in Thread]