mIRC Home    About    Download    Register    News    Help

Print Thread
/toolbar 16x16 icon bug #154634 30/07/06 06:17 PM
Joined: Aug 2003
Posts: 41
T
The_Mega_ZZTer Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Aug 2003
Posts: 41
When I try to use a 16x16 ico file in a toolbar, mIRC blows it up to 32x32, even though there is only a 16x16 image in the file.

Here is my command line:

/toolbar -i 1 id Tooltip resource\ico\gui\cursor.ico

The icon file is 16x16x24bits and was generated with Irfanview.

Re: /toolbar 16x16 icon bug #154635 30/07/06 06:18 PM
Joined: Sep 2005
Posts: 2,878
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,878
Not a bug. From the help file:

Code:
-zN = icon size, 1 = small, 2 = large, 3 = actual


You should be using /toolbar -iz3

Re: /toolbar 16x16 icon bug #154636 30/07/06 06:21 PM
Joined: Aug 2003
Posts: 41
T
The_Mega_ZZTer Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Aug 2003
Posts: 41
Ah, I was trying to use the [x y w h] commands, I didn't see that. Thanks.

Still, it should, by default, use the size of the icon in the file instead of resizing it.

[Edit:

toolbar -iz3 1 id Tooltip resource\ico\gui\cursor.ico

Icon is still displayed as 32x32. -z1 works.]

Last edited by The_Mega_ZZTer; 30/07/06 06:23 PM.
Re: /toolbar 16x16 icon bug #154637 30/07/06 06:22 PM
Joined: Sep 2005
Posts: 2,878
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,878
Agreed. smile

Re: /toolbar 16x16 icon bug #154638 31/07/06 01:36 PM
Joined: Dec 2002
Posts: 4,657
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,657
Thanks this has been fixed for the next version.