gpt4 book ai didi

java - 瓦丁 8 : change background color of description (tooltip)

转载 作者:太空宇宙 更新时间:2023-11-04 05:53:00 24 4
gpt4 key购买 nike

我使用 Vaadin 8,我需要更改工具提示的背景颜色(当它出现时),因为它似乎不可读......有什么想法吗?

searchPanelBtn = new Button();
searchPanelBtn.setWidth(80, Unit.PIXELS);
searchPanelBtn.setIcon(VaadinIcons.CHEVRON_CIRCLE_LEFT_O);
// below the tooltip to change background color
searchPanelBtn.setDescription("Hide Panel");

最佳答案

您可以尝试在 styles.scss 中添加这段代码

.v-tooltip {
background-color: red !important;
}

关于java - 瓦丁 8 : change background color of description (tooltip),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58096123/

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