Closed bunnybot closed 10 months ago
Mirrored from Codeberg On Thu Jan 25 10:49:37 CET 2024, Benedikt Straub (Nordfriese) wrote:
The big space on the left is for the add-on's own icon. If the add-on has no icon then the category image is used as fallback. The category itself is already displayed on the right next to the version string.
Mirrored from Codeberg On Thu Jan 25 16:17:26 CET 2024, (frankystone) wrote:
Hm, is there something special about such images? I saw you have two images icon.png
and icon32.png
but icon.png
isn't referenced in your add-on.
I have one image, e.g. height_tools.png
, in the subfolder /img
which is 34x34 pixels. It is shown in the toolbar dropdown list and referenced in init.lua.
To get this image in the "Installed"-tab of odd-ons i have tried several things, e.g. rename it to icon32.png
make it 32x32 pixels and store it in the base folder, with adapted reference, but no success. Should this work locally at all?
Mirrored from Codeberg On Thu Jan 25 17:30:40 CET 2024, Benedikt Straub (Nordfriese) wrote:
The add-on directory may additionally contain an optional PNG file icon.png which will be shown in the add-ons manager. This image should be square and not larger than 64×64 pixels. If it is not present, the add-on’s category’s representative icon will be used instead. https://www.widelands.org/documentation/add-ons/
Mirrored from Codeberg Created on Thu Jan 25 10:10:04 CET 2024 by frankystone
Just noticed this... mainly add-ons provided by <@>Nordfriese show wrong images in Browse and Installed tab:
From my understanding the add-ons type image (Script, Mapset, Theme, ...) should be shown there, not the image of the add-on? If so those images should be changed to prevent confusion.