改变mozilla插件工具箱的风格(Alter the style of the tooltip box of mozilla addon)
我使用下面的代码来显示我的mozilla插件面板的标题:
require('sdk/view/core').getActiveView(Pnael_Name).setAttribute('tooltip', 'aHTMLTooltip');
并显示
HTML
文件标题标签中的内容。但是我想修改
tooltip box
或者修改tooltip box
的高度和宽度。 我怎么做?I am using the following code to display the title for my mozilla addon panel :
require('sdk/view/core').getActiveView(Pnael_Name).setAttribute('tooltip', 'aHTMLTooltip');
and it displays what is present in the title tag of my
HTML
file.But I want to modify the
tooltip box
or cuztomize the height and width of thetooltip box
. How do I do that?
原文:https://stackoverflow.com/questions/33079592
更新时间:2021-11-18 12:11