mIRC Homepage
Posted By: Canario Icons in dialogs - 17/06/04 06:28 AM
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
















Posted By: Venoman Re: Icons in dialogs - 17/06/04 06:00 PM
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
Posted By: Canario Re: Icons in dialogs - 18/06/04 04:38 AM
Thanks for your answer smile
© mIRC Discussion Forums