Hi Maciej,
I'm surprised that the grid does this. It's very odd that it stretches the image bigger and even more odd that it does so ignoring the aspect ratio. You might want to Submit an incident to Infragistics Developer Support so they can check this out. It might be a bug.
The only way to alter this behavior is by using a CreationFilter to set the Scale property on the ImageUIElement that is displaying the image.
I too have this problem now.
When I used Infragistics 2008 Vol 1 the grid did NOT scale the images at all. Then I upgraded to Infragistics 2008 Vol 3 and now I have the same problem as the thread creator (images get scaled depending och row-height).
My question: is the grid supposed to behave like this or is this a bug?
Hmm I have the hotfix 20083_HotFix_2021 but it it still stretches the images but they get stretched with fixed aspect ratio. Looking at your pic, expand the width of the "S"-column and you will get a streched image in the first row.
This picture is from 2008.1
This picture is from 2008.3 with hotfix 2021
I believe that this newer issue has also been addressed, though I don't think it has been released. You should contact Developer Support so that you can be notified when the fix is made available.
-Matt
The issue I'm referring to that images are scaled to be larger than they actually are (i.e. if it's 16x16, it would still be stretched to a size larger than this, which looks bad because it is pixelated). The issue where images are scaled in such a way as they do not maintain their aspect ratio is what was fixed and is in the latest public hotfix.
Thanks! I will contact developer support and wait for that hotfix.
Then you should Submit an incident to Infragistics Developer Support and report this as a bug.
Unfortunately the issue prsented itself by upgrading the version that we were using. The issue was not present in any prior versions up to 2008.2 (we have been using infragistics since version 4). As part of the current release we upgraded to version 2008.3 with the latest hotfix.
Some general background:
The ultragrid is in one tab control of the tab control. Prior to 2008.3 hotfix when the particular row expanded the image in the first column would not resize (strech) with the row. As of 2008.3 with latest hotfix, the image is bound to the upper and lower edge of the grid and as it expands it hides text that is also in that cell.
I have isolated the issue to this build of infragistics by running the new version of our application code with version 2008.2 (the image is displayed as we expected). It almost seems that a default property has been changed in 2008.3 hotfix.
I'm not sure if this has been fixed, but you can download the latest Hot Fix here: My Infragistics Keys and Downloads - Download Anything and Everything You Own
Does anybody know if this issue has been resolved? Is there a hotfix?
Thank you