When I add my Photoshop Plugin to the area on the side, instead of showing the icons, there’s just an empty space there:
Why is this happening?
Here’s the code I have in the manifest which specifies the icons:
"icons": [
{"width": 23, "height": 23, "path": "icons/dark@1x.png", "scale": [1], "theme": ["dark", "darkest"]},
{"width": 46, "height": 46, "path": "icons/dark@2x.png", "scale": [2], "theme": ["dark", "darkest"]},
{"width": 23, "height": 23, "path": "icons/light@1x.png", "scale": [1], "theme": ["lightest", "light"]},
{"width": 46, "height": 46, "path": "icons/light@2x.png", "scale": [2], "theme": ["lightest", "light"]}
],
"entrypoints": [
{
"type": "panel",
"id": "main",
"label": {
"default": "test-plugin-v1"
},
"icons": [
{"width": 23, "height": 23, "path": "icons/dark@1x.png", "scale": [1], "theme": ["dark", "darkest"]},
{"width": 46, "height": 46, "path": "icons/dark@2x.png", "scale": [2], "theme": ["dark", "darkest"]},
{"width": 23, "height": 23, "path": "icons/light@1x.png", "scale": [1], "theme": ["lightest", "light"]},
{"width": 46, "height": 46, "path": "icons/light@2x.png", "scale": [2], "theme": ["lightest", "light"]}
],
"minimumSize": {"width": 290, "height": 200},
"maximumSize": {"width": 290, "height": 600},
"preferredDockedSize": {"width": 230, "height": 300},
"preferredFloatingSize": {"width": 290, "height": 400}
}
],
And those images are, indeed, at the path specified in the manifest file above.
Thanks!