Open vn-ki opened 5 years ago
Hi, thanks for creating company-box
! Sadly I'm also experiencing this issue. Actually I had 2 problems, one of these is described in this ticket but I was able to resolve it by setting the x-gtk-resize-child-frames
to 'hide
.
But I still have the shrinking problem when going down to the second page of the completions popup.
First page looks good:
When the contents are narrow, the popup width shrinks:
Is there a way to set a fixed width? Probably to the max length of the items?
I'm using Emacs 27 in Fedora 32 with Gnome Desktop, and Wayland, which I guess it is related with this problem.
Thanks!
When the contents are narrow, the popup width shrinks
@ig-perez I might just have the perfect fix for you. Try the variables controlled by company-mode (not company-box):
;; set them to the same number!
(setq company-tooltip-minimum-width 70)
(setq company-tooltip-maximum-width 70)
Thank you @ianpan870102 I just tried that out and worked perfectly!.
I'm using emacs and when I use arrow keys or any other keys to cycle through the completions, the box containing the completions and documentation shrinks.
Before scrolling:![image](https://user-images.githubusercontent.com/31964688/61997690-180b0f00-b0c3-11e9-82a2-65a3da3150e7.png)
After scrolling a few times:![image](https://user-images.githubusercontent.com/31964688/61997691-278a5800-b0c3-11e9-8e2d-961bfde6f46e.png)
I tried with no configuration for company box also (the screenshot has configuration) and still the same.