mIRC Home    About    Download    Register    News    Help

Print Thread
Icons in dialogs #87184 17/06/04 06:28 AM
Joined: Nov 2003
Posts: 67
C
Canario Offline OP
Babel fish
OP Offline
Babel fish
C
Joined: Nov 2003
Posts: 67
Example:
I have this in the dialog table
icon 5, 5 5 50 50, image.jpg

If the image is smaller than the icon zone (50 x 50) the icon zone isnīt fill totally by the image. It looks very bad smile
There are some way to fill all the zone with the image?

Second Question: There are same identifier to know the size (in cm) of one dialog control.

Thanks and sorry for my poor english smile


















irc.universochat.net
#escripting
Re: Icons in dialogs #87185 17/06/04 06:00 PM
Joined: Apr 2004
Posts: 45
V
Venoman Offline
Ameglian cow
Offline
Ameglian cow
V
Joined: Apr 2004
Posts: 45
In answer to your first question, I noticed the same thing; the icons you are using will maintain their aspect ratio. The way to get them to fit is make sure the ratio is correct. In your case you said you made the icon in the dialog 50 by 50, so make sure your .jpg is exactly as wide as it is tall, and that should fix it.

size of your dialog in centimeters? iunno. I think the options are just dbu or pixel width, neither one will tell you how many cm it is.

-Venoman

Re: Icons in dialogs #87186 18/06/04 04:38 AM
Joined: Nov 2003
Posts: 67
C
Canario Offline OP
Babel fish
OP Offline
Babel fish
C
Joined: Nov 2003
Posts: 67
Thanks for your answer smile


irc.universochat.net
#escripting