Bug #4011
closed/icon -o doesn't resize the image to fit it correctly
0%
Description
Hello,
I was trying to change the default 'scroll down arrow' i downloaded an image and was trying to set it, but it seems that AdiIRC doesn't resize to fit it there correctly and it uses big size.
Command used: //icon -o $qt(file_destination)
Example Arrow Icon:
Example Image:
I have also noticed that when i use -o or -or parameters without any window specified to apply to all the currently opened windows then it changes and the active icon too that it shouldn't.
- Thanks!
Updated by Per Amundsen over 6 years ago
- Category changed from Interface to Scripting
- Status changed from New to Invalid
This is correct, the image is not resized so the user can decide how big or small it should be, the mouse arrow is adjusted accordingly.
I fixed the other issue in #4013.
Updated by westor (GR) over 6 years ago
Per Amundsen wrote:
This is correct, the image is not resized so the user can decide how big or small it should be
Yes but the example image is 32x32 and the original size was bigger i tested and it was acting the same, what are the supported dismensions to change it and fit correctly?
- Thanks!
Updated by Per Amundsen over 6 years ago
I don't follow, you have to manually resize the image you want to use to the size you want, if you want it to be 32x32, resize it to that, then add the resized image.
Updated by westor (GR) over 6 years ago
Ok i reproduced the issue.
If you place in a direction a file for example 'down_arrow.png' and then you execute the //icon -o $qt(direction\down_arrow.png) then it changed successfully, but if you update the file on the direction and keep the file with the same name and then re-execute the same command it doesn't update the icon and you have to restart the AdiIRC client to take effect.