gpt4 book ai didi

linux - Eclipse 悬停和文档对话框具有深色背景

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:21:35 24 4
gpt4 key购买 nike

我想开始使用 Eclipse 代替 Netbeans。然而,似乎连设置颜色这样最基本的事情都很难做到。

我真的不知道如何在工具提示和文档对话框中使用合适的颜色。目前,它们就像您在这里看到的那样:

Documentation Hover

如下图所示,我已经将文档背景设置为白色,但没有用。我也尝试了不同的颜色,没有任何变化。 enter image description here

按照其他答案中的一些建议,我尝试修改我的主题工具提示颜色,但已经按照他们的建议进行编辑。

/usr/share/themes/Numix-ArchBlue/gtk-2.0/gtkrc

gtkrc

其他设置如下:

enter image description here

我在 Arch 上以 xfce4-session 4.12.1 (Xfce 4.12)Numix-ArchBlue 为主题。

知道我该怎么做吗?

最佳答案

我有同样的问题,但是我在 Debian 测试机上使用 Greybird 主题。

我设法通过执行以下操作解决了它:

  1. 编辑 /usr/share/themes/Greybird/gtk-3.0/gtk-contained.css特别是,设置 tooltip backgroundforeground 颜色如下:

    背景颜色:#ffffff;

    颜色:黑色;

这会将背景颜色设置为白色,将前景(字体)颜色设置为黑色。

CSS 文件的工具提示部分如下所示: The modified tooltip section of the gtk-contained.css

  1. 我对 /usr/share/themes/Greybird/gtk-3.0/gtk-contained-dark.css 做了同样的事情

Eclipse 中的最终结果如下图所示: Eclipse tooltip after editing the CSS files

也许对于 Numix 主题,这会有所帮助: https://askubuntu.com/questions/765909/tweaking-newer-gtk3-themes

祝你好运!

亲切的问候,尼古拉

关于linux - Eclipse 悬停和文档对话框具有深色背景,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42052597/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com