Closed NightMachinery closed 6 years ago
Yes, it should be possible to customize the tooltip
face. You might have to set x-gtk-use-system-tooltips
to nil
first.
@cpitclaudel There is no such variable:
That's OK: did you customize the tooltip face ?
@cpitclaudel It is currently like this: But as you see the colors haven't taken effect. And I don't see an option for font size?
BTW these colors were like this from the start (that EDITED is because I changed font family)
I have made the face like this but it has no effect:
Sorry, in that case I don't know (I'm not on mac). But this doesn't sound much like a company-quickhelp issue :/
Was this solved somehow? If not, keeping it open is better. Someone might know a fix, after all.
On Tue, Jul 3, 2018 at 1:01 AM Lars Andersen notifications@github.com wrote:
Closed #81 https://github.com/expez/company-quickhelp/issues/81.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/expez/company-quickhelp/issues/81#event-1712485486, or mute the thread https://github.com/notifications/unsubscribe-auth/Aii--jCfD6TepMgGo6rNs0UjlC7lmfXfks5uCoMqgaJpZM4SlfIG .
The problem isn't in company-quickhelp, but in the way your Emacs displays tooltips (it's using native tooltips, which are not configurable). I'm not sure what the right way is to tell Emacs to use it's own tooltips on mac.
I'm also experiencing this issue which is preventing me from using this package. In #80 @cpitclaudel made mention of replacing pos-tip with pos-frame by overriding pos-tip's entry points. I'm a relatively new emacs user so I don't have the knowledge on how to do that, so I think including some sample instructions in the README would help mac users a lot. I currently use flycheck-posframe instead of flycheck-postip and it work great cross-platform.
Hi. I know this issue is old but I experience the same problem.
I'm using Emacs 28.1 on MacOS (so no x-gtk-use-system-tooltips
). I have customized the tooltip
face (backgound color blue and font height 1.5).
company-mode
is taking in account both font height and background colorcompany-quickhelp
is taking in account just background colorSo I believe there is a problem in how company-quickhelp
(or pos-tip
) use face height.
I believe https://github.com/company-mode/company-quickhelp/pull/103 is solving the problem (however I haven't try) by defining a custom company-quickhelp-face
.
When you say "taking in account just background color", what do you mean?
In the screenshot the text in the tooltip is noticeably larger than the text in the main window. Isn't that your customization?
Yes the text of the company
tooltip is at the good size.
But the text of the company-quickhelp
is not, the one saying "Compares two slices and returns wether they are equal." on the right.
Now I see what you mean, thanks.
It seems like the tooltip
face is only honored by tooltip-show
, whereas pos-tip
calls x-show-tip
directly.
I suggest you actually try #103 and see whether is solves the problem for you. And doesn't add any obvious bug on top.
Is there any way I can enlarge the font of the tooltip?