开发自定义连接器时如何更改 mule 中的默认图标?
How to change default icons in mule while developing custom connector?
因为我正在使用最新的 devKit(版本 3.9.0)。 @Icons 选项不可用。那么在开发自定义连接器时,有没有其他方法可以更改 mule
中的默认图标?
在工作室中的包资源管理器中检查文件夹调用 "icons"。在此文件夹中,您会找到 2 张图片。
DevKit 将使用具有以下语法的图标:
Small: {connectorName}-connector-24x16.png
Large: {connectorName}-connector-48x32.png
注意:检查图片的大小
之后您可以重新安装连接器。
在图标文件夹内创建了两个文件夹,即 theme.light 和 theme.classic,每个文件夹应具有以下内容:
- theme.light:
- connectorname-connector-large.png(像素:26x26)
- connectorname-connector-small.png(像素:16x16)
- theme.classic:
- connectorname-connector-large.png(像素:48x32)
- connectorname-connector-small.png(像素:24x16)
对我有用。
因为我正在使用最新的 devKit(版本 3.9.0)。 @Icons 选项不可用。那么在开发自定义连接器时,有没有其他方法可以更改 mule
中的默认图标?
在工作室中的包资源管理器中检查文件夹调用 "icons"。在此文件夹中,您会找到 2 张图片。
DevKit 将使用具有以下语法的图标:
Small: {connectorName}-connector-24x16.png
Large: {connectorName}-connector-48x32.png
注意:检查图片的大小
之后您可以重新安装连接器。
在图标文件夹内创建了两个文件夹,即 theme.light 和 theme.classic,每个文件夹应具有以下内容:
- theme.light:
- connectorname-connector-large.png(像素:26x26)
- connectorname-connector-small.png(像素:16x16)
- theme.classic:
- connectorname-connector-large.png(像素:48x32)
- connectorname-connector-small.png(像素:24x16)
对我有用。