Each icon image has maximum and minimum default sizes as well as maximum and minimum allowable sizes. The following two resources control icon image size:
When calculating limits for image size, remember that the width of an icon is the image width plus the icon frame plus the space between icons. The height of an icon is the image height plus the icon frame plus the space between icons. The amount of icon decoration and the size of font used in the icon label also affects the height of the icon.
The window manager sizes an icon depending on the size of the image in
relation to the specified maximum and minimum sizes (see Table 5-12).
Table 20. Icon Size Affects Treatment of an Icon
If an icon image is... | The window manager... |
---|---|
Smaller than the minimum size | Acts as if no image were specified |
Within maximum and minimum limits | Centers the image within the maximum area |
Larger than the maximum size | Clips the right side and bottom of the image to fit the maximum size |